/* ---------- Tokens ---------- */
:root {
  --black: #000000;
  --gray: #767676;
  --white: #ffffff;
  --hairline: #000000;
  --font-body: 'Instrument Sans', Georgia, serif;
  --font-nav: 'Inter', sans-serif;
  --font-display: 'Atteron', 'Instrument Sans', Georgia, serif;
  --max-width: 1400px;
  --edge: 64px;
}

@font-face {
  font-family: 'Atteron';
  src: url('assets/fonts/Atteron.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
hr.divider { border: none; border-top: 1px solid var(--hairline); margin: 0; width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px var(--edge);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}
.site-logo {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}
.site-logo__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}
.site-logo__mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-logo__mark img.img-missing { display: none; }
.site-logo__mark .ph-logo__fallback { display: none; width: 100%; height: 100%; }
.site-logo__mark:has(img.img-missing) .ph-logo__fallback { display: block; }
.site-logo__mark svg { width: 100%; height: 100%; }
.site-logo__text {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 10.5px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-right { justify-self: end; display: flex; align-items: center; gap: 16px; }
.logo-mark { display: flex; align-items: center; flex-shrink: 0; }
.main-nav {
  display: flex;
  gap: 32px;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.08px;
  justify-self: center;
}
.main-nav a { padding: 4px 0; }
.main-nav a:hover { opacity: 0.6; }
.donate-btn {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.08px;
  background: rgba(0,0,0,0.05);
  backdrop-filter: blur(35px);
  padding: 16px 40px;
  border-radius: 40px;
  white-space: nowrap;
  flex-shrink: 0;
}
.donate-btn:hover { background: rgba(0,0,0,0.1); }
.nova-muzyka-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  opacity: .85;
}
.nova-muzyka-link:hover { opacity: 1; }
.nova-muzyka-link img { width: 20px; height: 20px; object-fit: contain; display: block; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span { display: block; width: 100%; height: 1.5px; background: var(--black); }

/* ---------- Layout shells ---------- */
main { width: 100%; }
.intro-section,
.resources-section,
.stats-section,
.footer-top,
.footer-bottom {
  padding-left: var(--edge);
  padding-right: var(--edge);
}

/* ---------- Intro ---------- */
.intro-section {
  padding-top: 60px;
  padding-bottom: 150px;
  border-bottom: 1px solid var(--hairline);
}
.intro-text {
  font-size: clamp(24px, 2.6vw, 37px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 820px;
}
.intro-poem p { margin: 0 0 0.55em; }
.intro-poem p:last-child { margin-bottom: 0; }

/* ---------- Resources ---------- */
.resources-section { padding-top: 40px; padding-bottom: 50px; }
.section-label {
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.05em;
  margin: 0 0 40px;
}
.section-label a { transition: opacity 0.15s; }
.section-label a:hover { opacity: 0.55; text-decoration: underline; }
.resources-section .section-label:not(:first-child) { margin-top: 70px; }

.ph-photo {
  position: relative;
  overflow: hidden;
  background: #e7e3da;
  flex-shrink: 0;
}
.ph-photo--tall { width: 100%; aspect-ratio: 466 / 480; }
.ph-photo--square { width: 100%; aspect-ratio: 1 / 1; }
.ph-photo--wide { width: 100%; aspect-ratio: 21 / 9; }
.ph-photo--landscape { width: 100%; aspect-ratio: 3 / 2; }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-photo img.img-missing { display: none; }
.ph-photo::after {
  content: 'Фото: ' attr(data-placeholder-file);
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-family: var(--font-nav);
  font-size: 13px;
  color: #9a9a9a;
  border: 1px dashed #c9c4b8;
}
.ph-photo:has(img.img-missing)::after { display: flex; }

/* Resource tiles: photo on top, title + description underneath, whole tile clickable */
.resource-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  margin-bottom: 10px;
}
.resource-tile {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: inherit;
}
.resource-tile h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 4px 0 0;
}
.resource-tile p {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.03em;
  color: var(--gray);
  margin: 0;
}
.resource-tile:hover .ph-photo { outline: 2px solid var(--black); outline-offset: 4px; }
.resource-tile:hover h3 { text-decoration: underline; }

/* Press carousel */
.press-carousel { position: relative; padding: 0 56px; }
.press-track {
  display: flex;
  gap: 48px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.press-track::-webkit-scrollbar { display: none; }
.press-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  color: inherit;
  padding: 12px 0;
}
.ph-logo { position: relative; width: min(420px, 90%); aspect-ratio: 420/100; }
.ph-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ph-logo img.img-missing { display: none; }
.ph-logo__fallback { display: none; }
.ph-logo:has(img.img-missing) .ph-logo__fallback { display: flex; }
.press-masthead {
  font-family: 'Times New Roman', Georgia, serif;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  line-height: 1.15;
}
.press-masthead--newyorker { font-size: 30px; letter-spacing: 0.02em; }
.press-masthead--ft { font-size: 26px; font-style: italic; letter-spacing: -0.01em; }
.press-masthead--nyt { font-size: 24px; letter-spacing: -0.01em; }
.press-masthead--npr { font-size: 32px; font-weight: 700; letter-spacing: 0.08em; font-family: var(--font-nav); }

.press-date { font-size: 16px; letter-spacing: -0.03em; }
.press-headline {
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--black);
  max-width: 560px;
}
.press-link {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--gray);
  text-decoration: underline;
}
.press-slide:hover .press-headline { text-decoration: underline; }

.press-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--black);
  background: var(--white);
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.press-nav:hover { background: var(--black); color: var(--white); }
.press-nav--prev { left: 0; }
.press-nav--next { right: 0; }

.press-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.press-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #d8d4c9; border: none; padding: 0; cursor: pointer;
}
.press-dot.is-active { background: var(--black); }

.press-see-all {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--gray);
  text-decoration: underline;
}

/* ---------- Stats ---------- */
.stats-section { padding-top: 40px; padding-bottom: 50px; display: flex; flex-direction: column; gap: 40px; }
.stats-content { display: flex; gap: 60px; }
.stats-intro {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 325px;
  flex-shrink: 0;
}
.stats-list { flex: 1; display: flex; flex-direction: column; gap: 32px; max-width: 620px; }
.stat { display: flex; flex-direction: column; gap: 12px; }
.stat-number {
  font-size: clamp(56px, 8vw, 105px);
  line-height: 1;
  letter-spacing: -0.05em;
}
.stat-label { font-size: 16px; letter-spacing: -0.03em; }
.about-link {
  align-self: flex-start;
  color: var(--gray);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 8px;
}
.about-link:hover { color: var(--black); }

.connect-block { display: flex; flex-direction: column; gap: 34px; margin-top: 20px; }
.connect-text {
  font-size: clamp(24px, 2.6vw, 37px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  padding: 8px 0;
}

/* ---------- Footer ---------- */
.site-footer { padding-top: 70px; padding-bottom: 40px; }
.footer-top {
  display: flex;
  justify-content: flex-end;
}
.footer-office,
.footer-social {
  display: flex;
}
.footer-office { gap: 100px; }
.footer-top { gap: 100px; }
.footer-group { display: flex; flex-direction: column; gap: 20px; margin-bottom: 50px; }
.footer-office { flex-direction: column; }
.footer-heading { font-size: 20px; letter-spacing: -0.05em; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 20px; letter-spacing: -0.05em; }
.footer-links a, .footer-group a { text-decoration: underline; }
.footer-social { flex-direction: column; gap: 20px; }

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 60px;
  flex-wrap: wrap;
}
.ph-logo--ucmf { width: 320px; max-width: 100%; aspect-ratio: 457/177; position: relative; }
.ph-logo--ucmf img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ph-logo--ucmf img.img-missing { display: none; }
.ucmf-wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.05;
  text-transform: uppercase;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
}
.ucmf-wordmark .row { display: flex; align-items: center; font-size: clamp(20px, 3vw, 34px); white-space: nowrap; }
.ucmf-wordmark .glyph-o,.ucmf-wordmark .glyph-a,.ucmf-wordmark .glyph-s { width: 0.8em; height: 0.8em; margin: 0 1px; }
.legal-text {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.03em;
  max-width: 460px;
  text-align: right;
}

.footer-credit {
  text-align: center;
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid var(--hairline, #e4e0d5);
}
.footer-credit a {
  position: relative;
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gray, #6b6b6b);
  padding: 10px 22px;
  transition: color .25s ease;
}
.footer-credit a:hover,
.footer-credit a:focus-visible { color: #12A19A; }

/* Circle that trails the real cursor while hovering the credit link
   (see the cursor-follow script appended to assets/site-transitions.js) */
.cursor-follow-circle {
  position: fixed;
  top: 0;
  left: 0;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px solid #12A19A;
  background: rgba(18, 161, 154, 0.08);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.4);
  transition: opacity .3s ease;
  will-change: transform;
  z-index: 500;
}
.cursor-follow-circle.is-active { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-follow-circle { display: none; }
}

/* ---------- Subpage hero ---------- */
.page-hero {
  padding: 40px var(--edge) 60px;
  border-bottom: 1px solid var(--hairline);
}
.eyebrow { margin-bottom: 24px; }
.eyebrow a { font-size: 14px; letter-spacing: 0.03em; color: var(--gray); text-decoration: underline; }
.page-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  line-height: 1;
}
.page-intro {
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
  line-height: 1.4;
  max-width: 640px;
  color: var(--gray);
}

/* ---------- Resources subpage: visual tile grids (bento-style, per Figma "ANDERS" moodboard) ----------
   Each link group (Scores / Articles / Other Resources) renders as a 12-col grid of photo tiles of
   varying width, instead of a plain text list -- a lead tile or two, then smaller tiles, then a
   full-width closer, echoing the ANDERS reference's mix of large and small visual blocks. */
.link-groups-section { padding: 60px var(--edge) 80px; display: flex; flex-direction: column; gap: 60px; }
.link-group .section-label { margin-bottom: 24px; }
.tile-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; }
.tile--full { grid-column: span 12; }
.tile--two-thirds { grid-column: span 8; }
.tile--half { grid-column: span 6; }
.tile--third { grid-column: span 4; }
.tile--full p, .tile--two-thirds p { max-width: 640px; }

.link-list { display: flex; flex-direction: column; }
.link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid #e4e0d6;
  color: inherit;
}
.link-item:first-child { border-top: 1px solid #e4e0d6; }
.link-item h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 640px;
}
.link-item p { font-size: 15px; color: var(--gray); margin: 4px 0 0; max-width: 640px; }
.link-item::after {
  content: '→';
  font-size: 16px;
  color: var(--gray);
  flex-shrink: 0;
}
.link-item:hover h3 { text-decoration: underline; }
.link-item:hover::after { color: var(--black); }

/* ---------- Press index subpage ---------- */
.press-index-list { padding: 40px var(--edge) 80px; display: flex; flex-direction: column; }
.press-index-item {
  display: grid;
  grid-template-columns: 120px 44px 1fr;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #e4e0d6;
  color: inherit;
}
.press-index-list .press-index-item:first-child { border-top: 1px solid #e4e0d6; }
.press-index-outlet { font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.press-index-body h3 { font-size: 18px; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 6px; line-height: 1.35; }
.press-index-body p { font-size: 14px; color: var(--gray); margin: 0; }
.press-index-date { font-size: 14px; color: var(--gray); white-space: nowrap; align-self: center; }
.press-index-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: #e7e3da;
  overflow: hidden;
  position: relative;
  display: block;
}
.press-index-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.press-index-logo img.img-missing { display: none; }
.press-index-item:hover .press-index-body h3 { text-decoration: underline; }

/* ---------- Support / Donate subpage ---------- */
.support-hero {
  padding: 60px var(--edge);
  border-bottom: 1px solid var(--hairline);
}
.support-statement {
  font-size: clamp(26px, 3.4vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.25;
  max-width: 900px;
  margin: 0 0 36px;
}
.donate-cta {
  display: inline-block;
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.08px;
  background: var(--black);
  color: var(--white);
  padding: 18px 44px;
  border-radius: 40px;
}
.donate-cta:hover { background: #333; }

.support-section { padding: 60px var(--edge); border-bottom: 1px solid var(--hairline); }
.support-section:last-of-type { border-bottom: none; }
.support-section .section-label { margin-bottom: 32px; }
.support-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.support-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.support-card p { font-size: 15px; line-height: 1.5; color: var(--gray); }
.support-card a.learn-more { font-size: 14px; text-decoration: underline; color: var(--gray); }
.link-item-simple {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.03em;
  color: var(--gray);
  text-decoration: underline;
}

.org-list { display: flex; flex-direction: column; }
.org-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid #e4e0d6;
}
.org-list .org-item:first-child { border-top: 1px solid #e4e0d6; }
.org-item-text { flex: 1; min-width: 0; }
.org-item h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 8px; }
.org-item h3 a { text-decoration: underline; }
.org-item p { font-size: 16px; line-height: 1.5; color: var(--gray); max-width: 720px; margin: 0; }
.org-item-photo {
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: block;
}
.org-item-photo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.org-item-photo img.img-missing { display: none; }

.mailing-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  flex-wrap: wrap;
}
.mailing-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid var(--black);
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 15px;
}
.mailing-form button {
  font-family: var(--font-nav);
  font-weight: 500;
  font-size: 15px;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 14px 30px;
  border-radius: 40px;
  cursor: pointer;
}
.mailing-form button:hover { background: #333; }

/* ---------- Composer database ---------- */
.composer-search-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.composer-search {
  flex: 1;
  min-width: 240px;
  max-width: 420px;
  padding: 14px 22px;
  border: 1px solid var(--black);
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 15px;
}
.composer-count { font-size: 14px; color: var(--gray); white-space: nowrap; }

.composer-list { padding: 20px var(--edge) 80px; }
.composer-group { margin-bottom: 48px; }
.composer-letter {
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: #c9c4b8;
}
.composer-rows { display: flex; flex-direction: column; }
.composer-row-wrap { border-bottom: 1px solid #ece8dd; }
.composer-list .composer-group:first-child .composer-row-wrap:first-child { border-top: 1px solid #ece8dd; }
.composer-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.composer-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: #e7e3da;
  overflow: hidden;
  display: block;
  position: relative;
}
.composer-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-thumb img.img-missing { display: none; }
.composer-thumb img.img-fallback { object-fit: contain; padding: 20%; box-sizing: border-box; background: #e7e3da; }
.composer-name {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.02em;
  width: 260px;
  flex-shrink: 0;
}
.composer-bio { font-size: 14px; color: var(--gray); font-style: italic; flex: 1; }
.composer-row:hover .composer-name { text-decoration: underline; }
.composer-toggle-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.2s;
}
.composer-row-wrap.is-open .composer-toggle-icon { transform: rotate(45deg); }

/* ---- Expand card detail panel ----
   Design system borrowed from the Figma "About" page (node 6:1562): a label column on the
   left, content on the right, thin dividers between sections, a plain numeric stats row,
   and divided list rows (title + right-aligned year/note + trailing glyph) for Works/Awards. */
.composer-detail { padding: 8px 0 36px 68px; }
.composer-detail-inner { display: flex; flex-direction: column; }

.cd-section { display: flex; gap: 40px; padding: 28px 0; border-top: 1px solid #ece8dd; }
.cd-section:first-child { border-top: none; padding-top: 8px; }
.cd-label { flex: 0 0 180px; font-size: 20px; font-weight: 500; letter-spacing: -0.02em; padding-top: 2px; }
.cd-content { flex: 1; min-width: 0; }

.cd-profile-row { display: flex; gap: 32px; }
.composer-detail-photo {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  background: #e7e3da;
  overflow: hidden;
  display: block;
}
.composer-detail-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.composer-detail-photo img.img-missing { display: none; }
.composer-detail-photo img.img-fallback { object-fit: contain; padding: 18%; box-sizing: border-box; background: #e7e3da; }
.composer-detail-intro { flex: 1; min-width: 0; }
.composer-detail-name { font-size: 24px; font-weight: 400; letter-spacing: -0.02em; margin: 0 0 4px; }
.composer-detail-years { font-size: 14px; color: var(--gray); margin: 0 0 16px; }
.composer-detail-bio { font-size: 16px; line-height: 1.6; max-width: 680px; margin: 0 0 16px; }
.composer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.composer-tag {
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border: 1px solid var(--black);
  border-radius: 20px;
}

/* Numeric stats row -- full width, no label column, mirrors the Figma "1M+ / 36 / 100+" row */
.cd-section--stats { padding: 0; border-top: none; }
.composer-detail-stats { display: flex; gap: 48px; padding: 28px 0; border-top: 1px solid #ece8dd; }
.composer-stat-number { font-size: 40px; letter-spacing: -0.02em; margin: 0; }
.composer-stat-label { font-size: 13px; color: var(--gray); margin: 4px 0 0; max-width: 160px; }

/* Shared divided-list-row pattern (Selected Works + Honors & Awards), mirrors the Figma
   "Awards" list: title on the left, note/year right-aligned, thin divider between rows. */
.cd-list { display: flex; flex-direction: column; }
.cd-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border-top: 1px solid #ece8dd;
}
.cd-list .cd-list-row:first-child { border-top: none; }
.cd-list-row-title { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.cd-list-row-note { font-size: 14px; color: var(--gray); text-align: right; flex-shrink: 0; }

/* Badge marking a work as a CONFIRMED UCMF performance (sourced from an actual concert program
   page), as opposed to a general "selected work" pulled from the composer's own bio page. */
.work-festival-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--black);
  border-radius: 20px;
  vertical-align: middle;
}

button.cd-list-row.composer-work-item {
  background: none;
  border-left: none; border-right: none; border-bottom: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
button.cd-list-row.composer-work-item .cd-list-row-note { flex: 1; text-align: left; }
.cd-list-row-icon {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; flex-shrink: 0;
}
.composer-work-item:hover .cd-list-row-icon { background: var(--black); color: var(--white); }

/* Connect section — a row of external links (website / social / email / etc.) */
.cd-section--connect { padding: 24px 0 8px; }
.cd-connect-link {
  font-size: 15px;
  letter-spacing: 0.01em;
  text-decoration: underline;
  color: var(--black);
}
.cd-links { display: flex; flex-wrap: wrap; gap: 10px; }
.cd-link {
  font-size: 14px;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border: 1px solid var(--black);
  border-radius: 30px;
  color: var(--black);
}
.cd-link:hover { background: var(--black); color: var(--white); }

/* ---- Video modal ---- */
.video-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; }
.video-modal[hidden] { display: none; }
.video-modal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.video-modal__panel {
  position: relative;
  background: var(--white);
  width: min(880px, 92vw);
  padding: 20px;
}
.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.video-embed { position: relative; width: 100%; aspect-ratio: 16/9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }
.video-placeholder { padding: 60px 24px; text-align: center; }
.video-placeholder p { margin: 0 0 12px; }
.video-placeholder code { background: #f2f0e9; padding: 2px 6px; }

/* ---- Composer name buttons in the programme (open the bio modal in place) ---- */
.prog-composer-link {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prog-composer-link:hover { opacity: 0.6; }
.composer-modal__panel { max-height: 86vh; overflow-y: auto; }


/* ---------- Unified database: search + filter bar ---------- */
.db-search-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.db-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 20px;
  margin-top: 20px;
}
.db-filter { display: flex; flex-direction: column; gap: 6px; }
.db-filter-label {
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gray);
}
.db-filter select {
  appearance: none;
  -webkit-appearance: none;
  padding: 11px 40px 11px 16px;
  border: 1px solid var(--black);
  border-radius: 40px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  min-width: 170px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.db-filter-clear {
  padding: 11px 22px;
  border: 1px solid var(--black);
  border-radius: 40px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
}
.db-filter-clear:hover { background: var(--white); color: var(--black); }

/* ---------- Compact inline totals (after the results count) ---------- */
.db-totals { font-size: 13px; color: #b0aa9c; white-space: normal; }

/* ---------- Multi-select chip strips (instruments / voice) ---------- */
.db-multi { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; flex-wrap: wrap; }
.db-multi-label {
  flex: 0 0 92px;
  font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--gray);
  padding-top: 7px;
}
.db-chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; min-width: 0; }
.db-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 13px;
  border: 1px solid #d9d4c8; border-radius: 30px;
  font-size: 13px; cursor: pointer; user-select: none;
}
.db-chip:hover { border-color: var(--black); }
.db-chip input { width: 13px; height: 13px; accent-color: var(--black); cursor: pointer; margin: 0; }
.db-chip:has(input:checked) { background: var(--black); color: var(--white); border-color: var(--black); }

/* ---------- Search-scope checkboxes ---------- */
.db-scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 18px;
}
.db-scope-label { font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gray); }
.db-scope-item { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.db-scope-item input { width: 15px; height: 15px; accent-color: var(--black); cursor: pointer; }

/* ---------- Result blocks (collapsible) ---------- */
.db-results { padding: 20px var(--edge) 80px; }
.db-block { margin-bottom: 56px; }
.db-block-head {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 2px solid var(--black);
  font-family: inherit;
  color: inherit;
  cursor: pointer;
  text-align: left;
  margin: 0 0 20px;
  padding: 0 0 12px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.db-block-title { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.db-block-count { font-size: 15px; font-weight: 400; color: var(--gray); }
.db-block-toggle {
  margin-left: auto;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
  transition: transform 0.2s;
  align-self: center;
}
.db-block-head[aria-expanded="true"] .db-block-toggle { transform: rotate(45deg); }
.db-empty { padding: 40px var(--edge) 120px; color: var(--gray); font-size: 18px; }
.db-block .composer-group:first-child .composer-row-wrap:first-child { border-top: 1px solid #ece8dd; }

/* ---------- Expandable work rows (composer cards + Works block) ---------- */
.db-worklist { border-top: none; }
.work-item { border-top: 1px solid #ece8dd; }
.cd-list .work-item:first-child { border-top: none; }
button.cd-list-row.work-toggle {
  background: none;
  border: none;
  border-top: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  align-items: center;
}
.work-item .cd-list-row { border-top: none; }
button.cd-list-row.work-toggle .cd-list-row-title { flex: 1 1 auto; min-width: 0; }
button.cd-list-row.work-toggle .cd-list-row-note { flex: 0 1 auto; }
.work-toggle .cd-list-row-icon { transition: transform 0.2s, background 0.2s, color 0.2s; }
.work-item.is-open .work-toggle .cd-list-row-icon { transform: rotate(45deg); background: var(--black); color: var(--white); }
.work-toggle:hover .cd-list-row-icon { background: var(--black); color: var(--white); }
.work-composer { color: var(--gray); font-weight: 400; }

.work-detail { padding: 4px 0 24px; display: flex; flex-direction: column; gap: 20px; }
.work-detail[hidden] { display: none; }   /* class display must not override the hidden attribute */
.work-meta { font-size: 13px; letter-spacing: 0.02em; color: var(--gray); text-transform: uppercase; margin: 0; }
.work-desc { font-size: 15px; line-height: 1.6; color: #2b2b2b; margin: 0; max-width: 720px; }
.work-detail-block { display: flex; flex-direction: column; gap: 10px; }
.cd-label-sm { font-size: 13px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gray); }
.cd-hint { font-style: italic; text-transform: none; letter-spacing: 0; color: #b8b2a4; font-size: 12px; }
.work-performers { display: flex; flex-wrap: wrap; gap: 10px; }

/* Performer names are NOT clickable; hovering (or keyboard-focusing) a chip reveals a card. */
.performer-chip {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #d9d4c8;
  border-radius: 30px;
  background: var(--white);
  font-size: 14px;
  cursor: default;
}
.performer-chip:hover, .performer-chip:focus-within { border-color: var(--black); outline: none; }
.performer-chip-name { font-weight: 500; }
.performer-chip-role { font-size: 12px; color: var(--gray); }
.performer-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 40;
  width: 320px;
  max-width: 82vw;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: default;
}
.performer-chip:hover .performer-pop, .performer-chip:focus-within .performer-pop { display: flex; }
.performer-pop-name { font-size: 16px; font-weight: 500; letter-spacing: -0.02em; }
.performer-pop-sub { font-size: 12px; letter-spacing: 0.03em; text-transform: uppercase; color: var(--gray); }
.performer-pop-bio { font-size: 13px; line-height: 1.5; color: #333; }

/* Play-recording button (opens the video modal, as in the earlier version) */
.work-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border: 1px solid var(--black);
  border-radius: 30px;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-start;
}
.work-play:hover { background: var(--black); color: var(--white); }
.work-play-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  border: 1px solid currentColor; font-size: 9px;
}

/* Premiere badge — outlined, distinct from the solid black festival badge */
.work-premiere-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 20px;
  vertical-align: middle;
}

/* ---------- Person & ensemble cards ---------- */
.entity-list { display: flex; flex-direction: column; border-top: 1px solid #ece8dd; }
.entity-card { border-bottom: 1px solid #ece8dd; }
.entity-row {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  text-align: left;
}
.entity-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e7e3da;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.entity-avatar--ens { background: var(--black); color: var(--white); }
.entity-main { flex: 1 1 0%; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.entity-name { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.entity-row:hover .entity-name { text-decoration: underline; }
.entity-sub { font-size: 14px; color: var(--gray); }
.entity-count { font-size: 13px; color: var(--gray); white-space: nowrap; flex-shrink: 0; }
.entity-card.is-open .composer-toggle-icon { transform: rotate(45deg); }

.entity-detail { padding: 0 0 28px 62px; }
.entity-detail-inner { display: flex; flex-direction: column; gap: 20px; }
.entity-bio { font-size: 16px; line-height: 1.6; max-width: 720px; margin: 0; }
.entity-empty { font-size: 15px; color: var(--gray); margin: 0; }
.entity-detail .cd-section { padding: 0; border-top: none; gap: 40px; }
.entity-detail .cd-label { flex-basis: 180px; }
button.cd-list-row.perf-jump {
  background: none;
  border: none;
  border-top: 1px solid #ece8dd;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}
.entity-detail .cd-list .perf-jump:first-child { border-top: none; }
button.cd-list-row.perf-jump .cd-list-row-note { flex: 0 0 auto; }
.perf-composer { color: var(--gray); font-weight: 400; }
.perf-jump:hover .cd-list-row-icon { background: var(--black); color: var(--white); }

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
  :root { --edge: 32px; }
  .main-nav { gap: 20px; font-size: 15px; }
  .resource-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-content { flex-direction: column; gap: 32px; }
  .stats-intro { max-width: 100%; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-text { text-align: left; max-width: 100%; }
  .support-columns { grid-template-columns: 1fr; }
  .press-index-item { grid-template-columns: 96px 36px 1fr; gap: 14px; }
  .press-index-logo { width: 36px; height: 36px; }

  /* Tile grids: simplify to a 6-col grid so third/half/two-thirds tiles pair up more evenly */
  .tile-grid { grid-template-columns: repeat(6, 1fr); gap: 24px; }
  .tile--full, .tile--two-thirds { grid-column: span 6; }
  .tile--half, .tile--third { grid-column: span 3; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  :root { --edge: 20px; }
  .site-header { padding: 14px var(--edge); grid-template-columns: auto 1fr auto; }
  .site-logo__text { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--hairline);
    display: none;
  }
  .main-nav a { padding: 16px var(--edge); border-bottom: 1px solid #eee; }
  .site-header.nav-open .main-nav { display: flex; }
  .nav-toggle { display: flex; }
  .donate-btn { padding: 12px 24px; font-size: 14px; }
  .nova-muzyka-link span { display: none; }
  .nova-muzyka-link { gap: 0; }

  .intro-section { padding-top: 30px; padding-bottom: 60px; }
  .section-label { margin-bottom: 24px; }
  .resources-section .section-label:not(:first-child) { margin-top: 48px; }

  .resource-grid { grid-template-columns: 1fr; gap: 40px; }

  .press-carousel { padding: 0 8px; }
  .press-nav { display: none; }
  .ph-logo { width: 100%; }

  .stat-number { font-size: 64px; }
  .footer-bottom { gap: 32px; }

  .press-index-item { grid-template-columns: 32px 1fr; grid-template-rows: auto auto; gap: 6px 12px; }
  .press-index-logo { width: 32px; height: 32px; grid-row: 1 / 3; }
  .press-index-date { order: -1; grid-column: 2; }
  .press-index-body { grid-column: 2; }
  .link-item { flex-direction: column; align-items: flex-start; }
  .link-item::after { display: none; }
  .tile-grid { grid-template-columns: 1fr; gap: 32px; }
  .tile-grid .tile { grid-column: 1 / -1; }
  .org-item { flex-direction: column; align-items: flex-start; gap: 16px; }
  .org-item-photo { width: 100%; height: 160px; }
  .composer-name { width: auto; flex: 1 1 0%; min-width: 0; order: 1; }
  .composer-row { flex-wrap: wrap; }
  .composer-toggle-icon { order: 2; }
  .composer-bio { width: 100%; flex: 1 1 100%; order: 3; padding-left: 68px; margin-top: -8px; }
  .composer-detail { padding-left: 0; }
  .cd-section { flex-direction: column; gap: 12px; padding: 20px 0; }
  .cd-label { flex-basis: auto; }
  .cd-profile-row { flex-direction: column; gap: 16px; }
  .composer-detail-stats { flex-wrap: wrap; gap: 24px; padding: 20px 0; }
  .cd-list-row { flex-wrap: wrap; gap: 4px 16px; }
  .cd-list-row-note { text-align: left; }
  button.cd-list-row.composer-work-item .cd-list-row-note { flex-basis: 100%; order: 3; }

  /* Unified database on mobile */
  .db-stat { flex: 1 1 40%; min-width: 0; padding: 12px 16px; }
  .db-stat-num { font-size: 26px; }
  .db-filter { flex: 1 1 100%; }
  .db-filter select { width: 100%; min-width: 0; }
  .db-filter-clear { flex: 1 1 100%; }
  button.cd-list-row.work-toggle .cd-list-row-note { flex-basis: 100%; order: 3; }
  button.cd-list-row.work-toggle .cd-list-row-title { flex-basis: 100%; }
  .work-festival-badge { margin-left: 0; margin-top: 4px; }
  .work-premiere-badge { margin-left: 0; margin-top: 4px; }
  .performer-pop { width: 240px; }
  .entity-detail { padding-left: 0; }
  .entity-detail .cd-section { flex-direction: column; gap: 12px; }
  button.cd-list-row.perf-jump .cd-list-row-note { flex-basis: 100%; order: 3; }
}

/* =====================================================================
   PARALLELOGRAM UI + screenshot palette (brown / coral / black / mint / gray)
   Appended override: turns pill/rounded controls into slanted parallelograms
   and applies the screenshot colour scheme. Right-leaning slant via clip-path
   keeps all text upright (unlike skew transforms).
   ===================================================================== */
:root{
  --pl-gray:#5f5f5f;
  --pl-brown:#8a5630;
  --pl-coral:#ef5126;
  --pl-black:#1a1a1a;
  --pl-mint:#cbe6d6;
  --pl-mint-soft:#e9f2ec;
  --pl-mint-hover:#bfe0cd;
  --sk:13px;          /* parallelogram slant offset */
  --sk-sm:8px;        /* smaller slant for badges/toggles */
}
/* shared parallelogram silhouette (top edge shifted right, like the screenshot) */
.composer-search,
.db-filter select,
.db-filter-clear,
.db-chip,
.work-play,
.donate-btn{
  border-radius:0 !important;
  clip-path:polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%);
}

/* --- Search input --- */
/* black 1px outline that follows the parallelogram silhouette (a real border is clipped on the slants) */
.composer-search{
  background:#ffffff;
  border:none !important;
  color:#1a1a1a;
  padding:15px 30px;
  max-width:460px;
  filter:drop-shadow(1.5px 0 0 #111) drop-shadow(-1.5px 0 0 #111) drop-shadow(0 1.5px 0 #111) drop-shadow(0 -1.5px 0 #111) drop-shadow(1.1px 1.1px 0 #111) drop-shadow(-1.1px -1.1px 0 #111) drop-shadow(1.1px -1.1px 0 #111) drop-shadow(-1.1px 1.1px 0 #111);
}
.composer-search::placeholder{ color:#8c8c8c; }
.composer-search:focus{ outline:none; background:#ffffff;
  filter:drop-shadow(1px 0 0 var(--pl-coral)) drop-shadow(-1px 0 0 var(--pl-coral)) drop-shadow(0 1px 0 var(--pl-coral)) drop-shadow(0 -1px 0 var(--pl-coral)); }

/* --- Filter dropdowns: white parallelograms with a black outline --- */
.db-filter select{
  background-color:#ffffff;
  border:none !important;
  color:var(--pl-black);
  padding:12px 44px 12px 22px;
  filter:drop-shadow(1.5px 0 0 #111) drop-shadow(-1.5px 0 0 #111) drop-shadow(0 1.5px 0 #111) drop-shadow(0 -1.5px 0 #111) drop-shadow(1.1px 1.1px 0 #111) drop-shadow(-1.1px -1.1px 0 #111) drop-shadow(1.1px -1.1px 0 #111) drop-shadow(-1.1px 1.1px 0 #111);
  /* coral chevron */
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ef5126' stroke-width='1.8' fill='none'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 18px center;
}
.db-filter select:hover{ background-color:#fafafa; }

/* section / filter labels in warm brown to tie into the palette */
.db-filter-label, .db-multi-label, .db-scope-label{ color:var(--pl-brown); }

/* --- Clear-all button (neutral, strong) --- */
.db-filter-clear{
  background:var(--pl-black);
  border:none !important;
  color:#fff;
  padding:12px 26px;
}
.db-filter-clear:hover{ background:var(--pl-coral); color:#fff; }

/* --- Instrument / voice chips --- */
.db-chip{
  border:none !important;
  background:#e9ece7;
  padding:7px 18px;
}
.db-chip:hover{ background:#dde1da; border-color:transparent; }
.db-chip:has(input:checked){ background:var(--pl-coral); color:#fff; border-color:transparent; }
.db-chip input, .db-scope-item input{ accent-color:var(--pl-coral); }

/* --- Performer hover chips --- (parallelogram via ::before so the hover popup is NOT clipped) */
.performer-chip{
  position:relative;
  border:none !important;
  border-radius:0 !important;
  background:transparent !important;
  padding:8px 20px;
}
.performer-chip::before{
  content:''; position:absolute; inset:0; z-index:-1;
  background:var(--pl-mint-soft);
  clip-path:polygon(var(--sk) 0, 100% 0, calc(100% - var(--sk)) 100%, 0 100%);
}
.performer-chip:hover::before, .performer-chip:focus-within::before{ background:var(--pl-mint); }
/* keep the hover popup above neighbouring buttons (e.g. Play recording) */
.performer-pop{ z-index:60; }

/* --- Play-recording button --- */
.work-play{
  border:none !important;
  background:var(--pl-coral);
  color:#fff;
  padding:11px 24px;
}
.work-play:hover{ background:var(--pl-black); color:#fff; }

/* --- DONATE button --- */
.donate-btn{
  background:var(--pl-coral) !important;
  backdrop-filter:none;
  color:#fff;
  padding:16px 40px;
}
.donate-btn:hover{ background:var(--pl-brown) !important; }

/* --- Badges: confirmed-performance = black parallelogram, premiere = mint parallelogram --- */
.work-festival-badge{
  border-radius:0 !important;
  clip-path:polygon(var(--sk-sm) 0, 100% 0, calc(100% - var(--sk-sm)) 100%, 0 100%);
  background:var(--pl-black);
  padding:4px 14px;
}
.work-premiere-badge{
  border-radius:0 !important;
  border:none !important;
  clip-path:polygon(var(--sk-sm) 0, 100% 0, calc(100% - var(--sk-sm)) 100%, 0 100%);
  background:var(--pl-mint);
  color:#16261d;
  padding:3px 12px;
}

/* --- Result-block expand toggles become little mint parallelograms --- */
.db-block-toggle{
  border:none !important;
  border-radius:0 !important;
  background:#e4ece5;
  clip-path:polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
  color:var(--pl-black);
}
.db-block-head[aria-expanded="true"] .db-block-toggle{ background:var(--pl-coral); color:#fff; }

/* section accent line under result-block headings */
.db-block-head{ border-bottom-color:var(--pl-black); }

/* row expand icons (composer / work / entity / perf rows) -> small parallelograms */
.composer-toggle-icon,
.cd-list-row-icon{
  border:none !important;
  border-radius:0 !important;
  background:#e4ece5;
  clip-path:polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%);
}
.composer-row-wrap.is-open .composer-toggle-icon,
.entity-card.is-open .composer-toggle-icon,
.work-item.is-open .work-toggle .cd-list-row-icon,
.work-toggle:hover .cd-list-row-icon,
.composer-work-item:hover .cd-list-row-icon,
.perf-jump:hover .cd-list-row-icon{
  background:var(--pl-coral) !important;
  color:#fff !important;
}

/* Fallback link under the video embed (works even when embedding is blocked, e.g. file://) */
.video-fallback{
  display:inline-block; margin-top:14px;
  background:var(--pl-coral); color:#fff;
  padding:10px 22px; font-size:14px; font-family:var(--font-nav); font-weight:500;
  clip-path:polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}
.video-fallback:hover{ background:var(--pl-black); }

/* ---- Card instrumentation tags -> mint parallelograms (like the lectures "in database" badge) ---- */
.composer-tag{
  background:var(--pl-mint) !important; color:#16261d !important;
  border:none !important; border-radius:0 !important;
  clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%);
  padding:5px 15px;
}

/* ---- Connect links -> coral parallelogram buttons (same family as DONATE, but smaller) ---- */
.cd-link{
  background:var(--pl-coral) !important; color:#fff !important;
  border:none !important; border-radius:0 !important;
  clip-path:polygon(11px 0,100% 0,calc(100% - 11px) 100%,0 100%);
  padding:10px 22px;
  font-family:var(--font-nav); font-weight:500;
}
.cd-link:hover{ background:var(--pl-black) !important; color:#fff !important; }

/* Button size hierarchy: DONATE is the primary CTA — keep it the largest / most prominent */
.donate-btn{ font-size:17px; padding:16px 42px; letter-spacing:0; }

/* Home resource tiles: much smaller image above the title (proportional to the text; real image to come) */
.resource-grid .ph-photo{ aspect-ratio:auto !important; height:150px; width:100%; }

/* About / stats: sub-stats row under the big Works number */
.stat-substats{ display:flex; flex-wrap:wrap; gap:12px 30px; margin-top:10px; }
.stat-sub{ display:flex; flex-direction:column; gap:2px; }
.stat-sub-num{ font-size:32px; line-height:1; letter-spacing:-0.04em; }
.stat-sub-label{ font-size:13px; letter-spacing:-0.01em; color:var(--gray); }

/* ============================================================
   REVERT filters to rounded pills with a black outline (no parallelogram,
   no green). Real borders are crisp on rounded shapes — no drop-shadow hacks.
   ============================================================ */
.composer-search{
  clip-path:none !important; border-radius:40px !important;
  border:1.5px solid #111 !important; filter:none !important;
  background:#fff !important; color:#1a1a1a;
}
.composer-search::placeholder{ color:#8c8c8c; }
.composer-search:focus{ filter:none !important; outline:none; border-color:var(--pl-coral) !important; }
.db-filter select{
  clip-path:none !important; border-radius:40px !important;
  border:1.5px solid #111 !important; filter:none !important;
  background-color:#fff !important;
}
.db-filter select:hover{ background-color:#fafafa !important; }
/* instrument / voice chips: rounded, neutral outline, NO green; coral only when checked */
.db-chip{
  clip-path:none !important; border-radius:30px !important;
  border:1px solid #cfcabd !important; background:#fff !important; color:inherit;
}
.db-chip:hover{ border-color:#111 !important; background:#fff !important; }
.db-chip:has(input:checked){ background:var(--pl-coral) !important; border-color:var(--pl-coral) !important; color:#fff; }

/* ============================================================
   Home "Resources" section: three illustrated tiles (database / scores / lectures)
   ============================================================ */
.resource-grid--three{ grid-template-columns:repeat(3,1fr); gap:40px; }
.resource-illus{ display:block; width:100%; height:440px; object-fit:contain; object-position:left center; }
@media (max-width:860px){ .resource-grid--three{ grid-template-columns:1fr; } }

/* ============================================================
   Nav "Resources" dropdown (replaces the Database link)
   ============================================================ */
.nav-dd{ position:relative; display:inline-flex; }
.nav-dd-toggle{ background:none; border:none; font:inherit; color:inherit; cursor:pointer;
  padding:4px 0; display:inline-flex; align-items:center; gap:7px; }
.nav-dd-toggle::after{ content:''; width:6px; height:6px; border-right:1.5px solid currentColor;
  border-bottom:1.5px solid currentColor; transform:rotate(45deg) translateY(-1px); }
.nav-dd-toggle:hover{ opacity:.6; }
.nav-dd-menu{ position:absolute; top:100%; left:50%; transform:translateX(-50%) translateY(8px);
  background:#fff; border:1px solid #e4e0d5; border-radius:14px; box-shadow:0 14px 34px rgba(0,0,0,.13);
  padding:8px; min-width:260px; display:flex; flex-direction:column; gap:2px;
  opacity:0; visibility:hidden; transition:opacity .14s ease, transform .14s ease; z-index:300; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(4px); }
.nav-dd-menu a{ padding:10px 14px; border-radius:9px; font-size:14px; white-space:nowrap; font-weight:500; }
.nav-dd-menu a:hover{ background:#f3f1ea; opacity:1; }

/* ============================================================
   PARALLELOGRAM search forms with a black rim on the FULL contour.
   Wrapper technique: black clip-path behind + white clip-path inset by padding,
   so the rim shows on every edge including the slants (a real border would clip).
   ============================================================ */
.pgram{ position:relative; display:inline-block; }
/* black layer sits 2px larger than the field on every side -> even rim, no centering needed */
.pgram::before{ content:''; position:absolute; inset:-2px; background:#111;
  clip-path:polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%); z-index:0; }
.pgram > .composer-search,
.pgram > select{
  position:relative; z-index:1; margin:0;
  border:none !important; border-radius:0 !important; filter:none !important;
  background-color:#fff !important;
  clip-path:polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%) !important;
}
/* search bar fills the row up to its max width */
.pgram--search{ display:block; flex:1 1 auto; min-width:240px; max-width:462px; }
.pgram--search > .composer-search{ display:block; width:100%; max-width:none; }
/* filter dropdowns size to content */
.db-filter .pgram{ display:block; }
.db-filter .pgram > select{ display:block; width:100%; min-width:170px; }
/* lectures event filter */
.pgram--event{ display:block; }
.pgram--event > select{ display:block; width:100%; border:none !important; }

/* ---------- Header full logo (random per visit) ---------- */
.site-logo__full{
  height: 42px;
  width: auto;
  max-width: 260px;
  display: block;
  object-fit: contain;
}
.site-logo__full.img-missing{ display: none; }
/* wordmark text only shows if the SVG logo fails to load */
.site-logo__text--fallback{ display: none; }
.site-logo:has(.site-logo__full.img-missing) .site-logo__text--fallback{ display: block; }
@media (max-width: 640px){
  .site-logo__full{ height: 34px; max-width: 190px; }
}

/* ============================================================
   Instrument / voice filter chips -> PARALLELOGRAMS with full-contour
   black rim (white field, coral when checked). No green.
   Rim = chip's own #111 background; white field = ::before at z-index:-1
   (kept below the label text, same technique as the performer chips).
   ============================================================ */
.db-chip{
  position:relative;
  display:inline-flex; align-items:center; gap:8px;
  clip-path:polygon(13px 0, 100% 0, calc(100% - 13px) 100%, 0 100%) !important;
  border:none !important; border-radius:0 !important;
  background:#111 !important;
  color:#1a1a1a !important;
  padding:8px 20px !important;
}
.db-chip::before{
  content:''; position:absolute; inset:1.6px; z-index:-1;
  background:#fff;
  clip-path:polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.db-chip:hover::before{ background:#f3f1e9; }
.db-chip:has(input:checked){ color:#fff !important; }
.db-chip:has(input:checked)::before{ background:var(--pl-coral); }
.db-chip input{ accent-color:var(--pl-coral); }

/* ============================================================
   ABOUT PAGE  +  home ABOUT infographics
   (uses the shared parallelogram palette: --pl-coral / --pl-mint / --pl-brown / --pl-black)
   ============================================================ */

/* --- About hero --- */
.about-hero{ padding:24px var(--edge) 10px; display:grid; grid-template-columns:minmax(240px,1fr) 1.15fr; gap:60px; align-items:start; }
.about-hero__title{ font-size:clamp(40px,6vw,74px); line-height:1.02; letter-spacing:-0.04em; font-weight:400; }
.about-hero__body{ display:flex; flex-direction:column; gap:18px; max-width:620px; padding-top:8px; }
.about-hero__body .lead{ font-size:22px; line-height:1.35; letter-spacing:-0.02em; }
.about-hero__body p{ font-size:16px; line-height:1.6; color:#2b2b2b; }
@media (max-width:820px){ .about-hero{ grid-template-columns:1fr; gap:26px; } }

/* --- Big figures band (Editions / Composers / Works / Premieres) --- */
.about-figures{ padding:34px var(--edge); display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.about-fig{ padding:6px 26px; border-left:1px solid #d9d4c8; }
.about-fig:first-child{ border-left:none; padding-left:0; }
.about-fig__num{ font-size:clamp(46px,6.5vw,90px); line-height:1; letter-spacing:-0.05em; }
.about-fig__num .plus{ color:var(--pl-coral); }
.about-fig__label{ font-size:14px; color:#555; margin-top:10px; letter-spacing:-0.01em; max-width:190px; }
@media (max-width:820px){ .about-figures{ grid-template-columns:1fr 1fr; gap:24px 0; } .about-fig:nth-child(3){ border-left:none; padding-left:0; } }

/* --- Section shell --- */
.about-sec{ padding:56px var(--edge); border-top:1px solid #ece8dd; }
.about-sec__head{ display:flex; align-items:baseline; justify-content:space-between; gap:20px; margin-bottom:34px; flex-wrap:wrap; }
.about-sec__title{ font-size:clamp(30px,4vw,48px); letter-spacing:-0.03em; font-weight:400; }
.about-sec__note{ font-size:15px; color:var(--gray); max-width:420px; }

/* --- Parallelogram bar charts --- */
.charts-grid{ display:grid; grid-template-columns:1fr 1fr; gap:48px 56px; }
@media (max-width:900px){ .charts-grid{ grid-template-columns:1fr; gap:40px; } }
.chart__title{ font-family:var(--font-nav); font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--pl-brown); margin-bottom:18px; }
.chart-row{ display:grid; grid-template-columns:132px 1fr 40px; align-items:center; gap:14px; margin-bottom:11px; }
.chart-row__key{ font-size:14px; letter-spacing:-0.01em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.chart-row__track{ display:block; height:15px; background:#eceae2;
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%); }
.chart-row__fill{ display:block; height:15px; background:var(--pl-coral); min-width:3px;
  clip-path:polygon(5px 0,100% 0,calc(100% - 5px) 100%,0 100%); transition:width .5s ease; }
.chart-row--alt .chart-row__fill{ background:var(--pl-brown); }
.chart-row--mint .chart-row__fill{ background:#7fae97; }
.chart-row__val{ font-size:13px; color:#555; text-align:right; font-variant-numeric:tabular-nums; }

/* countries: flag-free swatch list */
.geo-list{ display:flex; flex-direction:column; gap:11px; }
.geo-row{ display:grid; grid-template-columns:132px 1fr 40px; align-items:center; gap:14px; }

/* --- Team carousel --- */
.team-carousel{ position:relative; }
.team-track{ display:flex; gap:22px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:8px; scrollbar-width:none; }
.team-track::-webkit-scrollbar{ display:none; }
.team-card{ flex:0 0 auto; width:210px; scroll-snap-align:start; }
.team-photo{ position:relative; width:210px; height:230px; overflow:hidden; background:var(--pl-mint);
  clip-path:polygon(18px 0,100% 0,calc(100% - 18px) 100%,0 100%); display:flex; align-items:center; justify-content:center; }
.team-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.team-photo img.img-missing{ display:none; }
.team-photo__initials{ font-size:52px; letter-spacing:-0.03em; color:#16261d; opacity:.5; font-family:var(--font-nav); }
.team-card:nth-child(3n+2) .team-photo{ background:#e7d3c6; }
.team-card:nth-child(3n+2) .team-photo__initials{ color:#5a3b28; }
.team-card:nth-child(3n) .team-photo{ background:#e2e0d3; }
.team-card:nth-child(3n) .team-photo__initials{ color:#3a3a3a; }
.team-card__name{ font-size:17px; letter-spacing:-0.02em; margin:14px 0 3px; }
.team-card__role{ font-size:13px; color:var(--gray); line-height:1.4; }
.team-nav{ display:flex; gap:10px; margin-top:22px; }
.team-arrow{ width:44px; height:38px; border:none; cursor:pointer; background:#eceae2; color:#1a1a1a;
  clip-path:polygon(11px 0,100% 0,calc(100% - 11px) 100%,0 100%); font-size:15px; display:flex; align-items:center; justify-content:center; }
.team-arrow:hover{ background:var(--pl-coral); color:#fff; }

/* --- Venues --- */
.venue-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:900px){ .venue-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:620px){ .venue-grid{ grid-template-columns:1fr; } }
.venue-card{ position:relative; border:none; background:transparent; padding:0; }
.venue-card__graphic{ position:relative; height:132px; overflow:hidden;
  clip-path:polygon(20px 0,100% 0,calc(100% - 20px) 100%,0 100%);
  display:flex; align-items:center; justify-content:center; }
.venue-card__graphic svg{ width:100%; height:100%; display:block; }
.venue-card__years{ position:absolute; top:12px; right:22px; display:flex; gap:6px; flex-wrap:wrap; justify-content:flex-end; }
.venue-year{ font-family:var(--font-nav); font-size:11px; font-weight:600; color:#fff; background:rgba(0,0,0,.42);
  padding:3px 9px; clip-path:polygon(6px 0,100% 0,calc(100% - 6px) 100%,0 100%); }
.venue-card__name{ font-size:18px; letter-spacing:-0.02em; margin:15px 0 4px; line-height:1.2; }
.venue-card__sub{ font-size:13px; color:var(--pl-brown); font-family:var(--font-nav); letter-spacing:.02em; }
.venue-card__addr{ font-size:13px; color:var(--gray); margin-top:5px; }
.venue-card__tag{ display:inline-block; margin-top:9px; font-size:11px; font-family:var(--font-nav); font-weight:600;
  letter-spacing:.04em; text-transform:uppercase; color:#16261d; background:var(--pl-mint);
  padding:3px 12px; clip-path:polygon(7px 0,100% 0,calc(100% - 7px) 100%,0 100%); }

/* --- Home About: compact infographics add-on --- */
.about-mini{ padding-top:14px; }
.about-mini__grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:44px; margin-top:6px; }
@media (max-width:900px){ .about-mini__grid{ grid-template-columns:1fr; gap:34px; } }

/* ============================================================
   Our Team -> two labelled groups laid out like the figures band
   (name as the prominent element, role beneath, ruled divider lines)
   ============================================================ */
.team-groups{ display:flex; flex-direction:column; gap:46px; }
.team-group__label{ font-family:var(--font-nav); font-size:13px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--pl-brown); padding-bottom:16px; border-bottom:1px solid #1a1a1a; margin-bottom:4px; }
.team-people{ display:grid; }
.team-people--3{ grid-template-columns:repeat(3,1fr); }
.team-people--4{ grid-template-columns:repeat(4,1fr); }
.team-person{ border-left:1px solid #d9d4c8; padding:20px 28px; }
.team-person__name{ font-size:clamp(23px,2.6vw,34px); line-height:1.05; letter-spacing:-0.03em; }
.team-person__role{ font-size:14px; color:var(--gray); margin-top:10px; letter-spacing:-0.01em; }
/* first column in each row has no left rule and no left padding */
.team-people--3 .team-person:nth-child(3n+1){ border-left:none; padding-left:0; }
.team-people--4 .team-person:nth-child(4n+1){ border-left:none; padding-left:0; }
/* second row (advisory board wraps 4 + 3) gets a top rule */
.team-people--4 .team-person:nth-child(n+5){ border-top:1px solid #d9d4c8; }
@media (max-width:820px){
  .team-people--3, .team-people--4{ grid-template-columns:1fr 1fr; }
  .team-person{ border-left:1px solid #d9d4c8; padding:16px 20px; }
  .team-people--3 .team-person:nth-child(3n+1),
  .team-people--4 .team-person:nth-child(4n+1){ border-left:1px solid #d9d4c8; padding-left:20px; }
  .team-people--3 .team-person:nth-child(2n+1),
  .team-people--4 .team-person:nth-child(2n+1){ border-left:none; padding-left:0; }
  .team-people--3 .team-person:nth-child(n+3),
  .team-people--4 .team-person:nth-child(n+3){ border-top:1px solid #d9d4c8; }
}
@media (max-width:480px){
  .team-people--3, .team-people--4{ grid-template-columns:1fr; }
  .team-person, .team-people--3 .team-person, .team-people--4 .team-person{ border-left:none; padding-left:0; border-top:1px solid #d9d4c8; }
  .team-people--3 .team-person:first-child, .team-people--4 .team-person:first-child{ border-top:none; }
}

/* ============================================================
   RESOURCES: puzzle mosaic — transparent pieces (like the press logos),
   wide size range, title BELOW the shape. Masonry: each tile's WIDTH varies
   (random column span, set in JS) and its row span is measured from content,
   so text is NEVER truncated and the shape is NEVER cropped.
   ============================================================ */
.mosaic-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(70px,1fr));
  grid-auto-rows:6px; grid-auto-flow:row dense; column-gap:0; row-gap:0; align-items:start; }
@media (max-width:640px){ .mosaic-grid{ grid-template-columns:repeat(auto-fill, minmax(54px,1fr)); } }
.mtile{ display:block; color:inherit; grid-column:span 2; padding:8px; }
.puzzle-cell{ display:block; width:100%; aspect-ratio:1/1; position:relative; overflow:visible; }  /* square box, never crops */
/* anchor every shape to the TOP-LEFT of its box so tops & side edges line up
   across the row instead of floating/jumping */
.puzzle-cell img{ width:100%; height:100%; object-fit:contain; object-position:left top; display:block; }
.mtile__cap{ padding:10px 2px 0; }
.mtile__cap h3{ margin:0; color:#1a1a1a; font-size:19px; font-weight:500; line-height:1.25; letter-spacing:-0.01em; }
.mtile__desc{ margin:5px 0 0; color:var(--gray); font-size:13px; line-height:1.4; letter-spacing:-0.01em; }
.mtile:hover .puzzle-cell img{ opacity:.82; }
.mtile:hover .mtile__cap h3{ text-decoration:underline; }

/* ============================================================
   HOME press: halve the logo + READ MORE becomes a coral button
   ============================================================ */
.press-slide .ph-logo{ width:min(210px, 60%); }
.press-link{
  color:#fff !important; text-decoration:none !important;
  background:var(--pl-coral); font-family:var(--font-nav); font-weight:500;
  font-size:13px; letter-spacing:.04em; padding:9px 22px;
  clip-path:polygon(11px 0, 100% 0, calc(100% - 11px) 100%, 0 100%);
}
.press-slide:hover .press-link{ background:var(--pl-black); }

/* ============================================================
   PRESS page: bigger, height-matched logos (not boxed to a square)
   ============================================================ */
.press-index-item{ grid-template-columns:120px auto 1fr; }
.press-index-logo{ width:auto; height:54px; background:none; overflow:visible; }
.press-index-logo img{ height:100%; width:auto; max-width:200px; object-fit:contain; object-position:left center; }
@media (max-width:760px){
  .press-index-item{ grid-template-columns:96px auto 1fr; gap:14px; }
  .press-index-logo{ height:42px; }
}
@media (max-width:520px){
  .press-index-item{ grid-template-columns:auto 1fr; grid-template-rows:auto auto; gap:8px 14px; }
  .press-index-logo{ height:40px; grid-row:1 / 3; }
  .press-index-date{ order:-1; grid-column:2; }
  .press-index-body{ grid-column:2; }
}

/* ============================================================
   ABOUT: team member CARDS (square photo + bio + contacts + socials)
   ============================================================ */
.tcard-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(232px,1fr)); gap:34px 30px; }
.tcard{ display:flex; flex-direction:column; }
.tcard__photo{ position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--pl-mint);
  display:flex; align-items:center; justify-content:center; }
.tcard:nth-child(3n+2) .tcard__photo{ background:#e7d3c6; }
.tcard:nth-child(3n) .tcard__photo{ background:#e2e0d3; }
.tcard__photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tcard__photo img.img-missing{ display:none; }
.tcard__ini{ font-family:var(--font-nav); font-size:46px; letter-spacing:-0.03em; color:#16261d; opacity:.42; }
.tcard:nth-child(3n+2) .tcard__ini{ color:#5a3b28; }
.tcard:nth-child(3n) .tcard__ini{ color:#3a3a3a; }
.tcard__name{ font-size:19px; letter-spacing:-0.02em; margin:16px 0 3px; }
.tcard__role{ font-size:12px; font-family:var(--font-nav); letter-spacing:.03em; text-transform:uppercase; color:var(--pl-brown); }
.tcard__bio{ font-size:13.5px; line-height:1.55; color:#333; margin:11px 0 0; }
.tcard__links{ display:flex; flex-wrap:wrap; gap:7px; margin-top:14px; }
.tcard__links a{ font-family:var(--font-nav); font-size:11px; font-weight:600; letter-spacing:.02em;
  color:#16261d; background:#eceae2; padding:5px 12px;
  clip-path:polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.tcard__links a:hover{ background:var(--pl-coral); color:#fff; }
.team-group + .team-group{ margin-top:44px; }
.about-mini__grid--2{ grid-template-columns:1fr 1fr; }
@media (max-width:900px){ .about-mini__grid--2{ grid-template-columns:1fr; } }

/* ============================================================
   Site-wide page transition (cinematic crossfade, à la codrops demo).
   Opacity-only so it never breaks fixed/sticky elements. The `pt` class is
   added to <html> by site-transitions.js, so with JS off nothing is hidden.
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  html.pt body{ opacity:0; }
  html.pt body.pt-ready{ opacity:1; transition:opacity .55s ease; }
  html.pt body.pt-leaving{ opacity:0; transition:opacity .34s ease; }
}

/* ============================================================
   2027: Festival dropdown, video hero on home, static image on programme
   ============================================================ */
.nav-dd-menu--short{ min-width:120px; }
.hero-eye.hero-eye--video{ min-height:0; aspect-ratio:16 / 9; overflow:hidden; background:#5e5a2c; }
.hero-eye__video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.hero-eye.hero-eye--video .hero-eye__go{ bottom:10px; z-index:2; }
@media (max-width:1000px){ .hero-eye.hero-eye--video{ min-height:0; aspect-ratio:16 / 9; } }
.static-hero{ display:block; width:100%; height:auto; }
.intro-section.intro-section--eyebrow{ padding-bottom:28px; }
