/* === CreArtBox · Modern - Fraunces display + Inter UI === */

:root {
  /* Off-white paper, near-black ink, burgundy accent, CreArtBox yellow */
  --paper:    #fafaf7;
  --paper-2:  #f2efe9;
  --paper-3:  #ebe7df;
  --ink:      #131820;
  --ink-2:    #3a4049;
  --ink-soft: #757b85;
  --rule:     rgba(19, 24, 32, 0.12);
  --rule-2:   rgba(19, 24, 32, 0.06);
  --quiet:    #8a8f99;

  --yellow:      #fbda41;
  --yellow-deep: #e7c01f;
  --red:         #a82424;
  /* Accent that flips per theme: amber on cream paper, bright yellow on dark */
  --accent:      #9c8516;

  --bg: var(--paper);
  --fg: var(--ink);

  /* Modern pairing: Fraunces (variable serif, display) + Inter (UI/body) */
  --serif: "Fraunces", "Garamond", "Adobe Garamond Pro", serif;
  --sans:  "Inter", "Helvetica Neue", "Arial", sans-serif;

  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 56px);

  --t: 360ms cubic-bezier(.2,.7,.2,1);
  --t-fast: 180ms cubic-bezier(.2,.7,.2,1);
}

:root[data-theme="dark"] {
  --paper:    #0f1115;
  --paper-2:  #161922;
  --paper-3:  #1d2230;
  --ink:      #f3f1ea;
  --ink-2:    #c7c8cf;
  --ink-soft: #8a8f99;
  --rule:     rgba(243, 241, 234, 0.14);
  --rule-2:   rgba(243, 241, 234, 0.07);
  --quiet:    #a0a4ad;
  --red:      #e25656;
  --accent:   #fbda41;
  --bg: var(--paper);
  --fg: var(--ink);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern", "liga", "ss01";
  transition: background var(--t), color var(--t);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* === Typography === */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.smcp {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-style: normal;
  font-weight: 500;
  font-size: 0.85em;
}

.label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
}
.label.ital { font-style: normal; color: var(--ink-soft); }

.dropcap::first-letter {
  font-family: var(--serif);
  font-style: italic;
  float: left;
  font-size: 5.4em;
  line-height: 0.82;
  padding-right: 14px;
  padding-top: 6px;
  color: var(--ink);
  font-weight: 300;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
em { font-style: italic; font-family: var(--serif); }

/* Flatter hierarchy - page heros calmer, section heads more present */
.h-mast {
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-weight: 300;
}
.h-mast em { font-style: italic; font-weight: 300; }
.h-feature {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  font-weight: 300;
}
.h-feature em { font-weight: 300; font-style: italic; color: var(--accent); }
.h-title {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.06;
  letter-spacing: -0.014em;
  font-weight: 300;
}
.h-title em { font-weight: 300; font-style: italic; color: var(--accent); }
.h-sub {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.26;
  font-style: italic;
  color: var(--ink-2);
  font-weight: 300;
}

.lede {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 40em;
  font-weight: 400;
}
.body, p.body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 36em;
  font-weight: 400;
}
.body-s { font-family: var(--sans); font-size: 14px; line-height: 1.6; color: var(--ink-soft); font-weight: 400; }
.body-l { font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 40em; font-weight: 400; }

/* === Layout === */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }

/* === Rules === */
.rule { border: none; border-top: 1px solid var(--ink); height: 0; margin: 0; }
.rule-thin { border-top: 0.5px solid var(--ink); opacity: 0.55; }
.rule-double { height: 4px; border: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.rule-motif { display: flex; align-items: center; gap: 16px; color: var(--ink); margin: 48px 0; }
.rule-motif::before, .rule-motif::after { content: ""; flex: 1; height: 1px; background: var(--ink); }
.rule-motif span { font-style: italic; font-size: 18px; color: var(--ink-soft); }

/* === Folio (page number) === */
.folio {
  position: absolute;
  top: 18px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.folio.left { left: var(--gutter); }
.folio.right { right: var(--gutter); }
/* The decorative "CreArtBox · Archive" / "2009 - today" corner labels
   crowd the hero header on small screens and overlap .page-folio-head.
   Hide them on mobile - the .page-folio-head label keeps the wayfinding. */
@media (max-width: 860px) {
  .folio { display: none !important; }
  /* Stack the page-folio-head vertically so the two side labels don't collide */
  .page-folio-head {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px !important;
    padding-bottom: 12px;
  }
  .page-folio-head > hr.rule { display: none; }
  .page-folio-head .label,
  .page-folio-head .label.ital { font-size: 11px; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.02em;
  font-weight: 500;
  border-radius: 999px;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn-stamp {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #131820;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 12.5px;
}
.btn-stamp:hover { background: #131820; color: var(--yellow); border-color: #131820; }

.btn-l { padding: 14px 26px; font-size: 15px; }
.btn-s { padding: 7px 14px; font-size: 12.5px; letter-spacing: 0.06em; }
.btn-block { display: flex; width: 100%; justify-content: center; }

.btn .ar { display: inline-block; font-size: 16px; transition: transform var(--t-fast); }
.btn:hover .ar { transform: translateX(4px); }

/* === Stamp === */
.stamp {
  display: inline-block;
  padding: 6px 12px;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11.5px;
  font-weight: 600;
  font-family: var(--sans);
  background: transparent;
  border-radius: 999px;
}

.yellowmark {
  background: linear-gradient(transparent 60%, var(--yellow) 60%);
  padding: 0 0.1em;
}
:root[data-theme="dark"] .yellowmark {
  background: var(--yellow);
  color: #131820;
  padding: 0.05em 0.2em;
  border-radius: 2px;
}

/* === Masthead === */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  transition: background var(--t), color var(--t), border-color var(--t);
}

/* === Transparent masthead on hero pages === */
body.hero-transparent .masthead {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: rgba(255,255,255,0.18);
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}
body.hero-transparent .masthead .masthead-left,
body.hero-transparent .masthead .masthead-right,
body.hero-transparent .masthead .masthead-title,
body.hero-transparent .masthead .themetoggle,
body.hero-transparent .masthead .nav-burger { color: #ffffff; }
body.hero-transparent .masthead .nav-burger { border-color: rgba(255,255,255,0.6); }
body.hero-transparent .masthead .masthead-title::before,
body.hero-transparent .masthead .masthead-title::after { color: rgba(255,255,255,0.7); }
body.hero-transparent .nav-strip {
  border-top-color: rgba(255,255,255,0.22);
  border-bottom-color: rgba(255,255,255,0.22);
}
body.hero-transparent .nav-strip a {
  color: rgba(255,255,255,0.92);
  border-right-color: rgba(255,255,255,0.18);
}
body.hero-transparent .nav-strip a:hover { background: rgba(255,255,255,0.12); color: #fff; }
body.hero-transparent .nav-strip a.active { background: rgba(255,255,255,0.92); color: #131820; text-shadow: none; }
body.hero-transparent .nav-strip a.active::after { background: rgba(255,255,255,0.92); }

/* When scrolled past hero, masthead snaps to solid */
body.hero-transparent .masthead.scrolled {
  background: var(--paper);
  border-bottom-color: var(--ink);
  color: var(--ink);
  text-shadow: none;
}
body.hero-transparent .masthead.scrolled .masthead-left,
body.hero-transparent .masthead.scrolled .masthead-right,
body.hero-transparent .masthead.scrolled .masthead-title,
body.hero-transparent .masthead.scrolled .themetoggle { color: var(--ink-soft); }
body.hero-transparent .masthead.scrolled .masthead-title { color: var(--ink); }
body.hero-transparent .masthead.scrolled .nav-burger { color: var(--ink); border-color: var(--ink); }
body.hero-transparent .masthead.scrolled .nav-strip { border-color: var(--ink); }
body.hero-transparent .masthead.scrolled .nav-strip a { color: var(--ink-2); border-right-color: var(--rule); }
body.hero-transparent .masthead.scrolled .nav-strip a:hover { background: var(--paper-2); }
body.hero-transparent .masthead.scrolled .nav-strip a.active { background: var(--ink); color: var(--paper); }
body.hero-transparent .masthead.scrolled .nav-strip a.active::after { background: var(--ink); }

/* === Hero fullbleed === */
.hero-fullbleed {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 980px;
  overflow: hidden;
  background: var(--ink);
}
.hero-fullbleed > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-fullbleed::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20,32,43,0.55) 0%, rgba(20,32,43,0.10) 22%, rgba(20,32,43,0.05) 55%, rgba(20,32,43,0.78) 100%);
}
.hero-fullbleed > .hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 8vh, 96px);
}
.hero-fullbleed .hero-content .wrap { position: static; }
.hero-fullbleed .hero-tag {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: flex;
  gap: 16px;
  align-items: center;
}
.hero-fullbleed .hero-tag::before, .hero-fullbleed .hero-tag::after {
  content: "";
  flex: 1;
  max-width: 100px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.hero-fullbleed h1 {
  font-family: var(--serif);
  color: #ffffff;
  font-size: clamp(38px, 5.4vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  font-weight: 300;
  max-width: 22ch;
  margin: 24px 0 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.hero-fullbleed h1 em { font-style: italic; font-weight: 300; }
.hero-fullbleed h1 em { font-style: italic; }
.hero-fullbleed .hero-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-top: 40px;
}
.hero-fullbleed .hero-lede {
  font-family: var(--sans);
  color: rgba(255,255,255,0.95);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  max-width: 36em;
  margin: 0;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
  font-weight: 400;
}
.hero-fullbleed .hero-lede em { font-style: italic; font-family: var(--serif); }
.hero-fullbleed .hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-fullbleed .hero-cta .btn {
  background: rgba(255,255,255,0.96);
  border-color: rgba(255,255,255,0.96);
  color: #131820;
  text-shadow: none;
}
.hero-fullbleed .hero-cta .btn:hover { background: #131820; color: var(--paper); border-color: #131820; }
.hero-fullbleed .hero-cta .btn-stamp { background: var(--yellow); border-color: var(--yellow); color: #131820; }
.hero-fullbleed .hero-cta .btn-stamp:hover { background: #131820; color: var(--yellow); border-color: #131820; }

@media (max-width: 768px) {
  .hero-fullbleed { height: 80vh; min-height: 560px; }
  .hero-fullbleed .hero-row { grid-template-columns: 1fr; }
}

/* === Featured-performances grid (homepage) === */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feat-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.feat-card .feat-media {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--paper-2);
  aspect-ratio: 4/3;
}
.feat-card .feat-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.feat-card:hover .feat-media img { transform: scale(1.04); }
.feat-card .feat-meta {
  padding: 14px 0 0;
}
.feat-card .feat-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.feat-card .feat-title {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  font-weight: 300;
  margin: 8px 0 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.feat-card .feat-sub {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 14px;
  margin-top: 6px;
}
.feat-card .feat-action {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
  display: inline-block;
}
.feat-card:hover .feat-action { color: var(--accent); }
.feat-card:hover .feat-action { color: var(--ink); border-bottom-color: var(--ink); }
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
}

/* === Embedded video (16:9) === */
.video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--ink);
  overflow: hidden;
  background: var(--ink);
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* === Archive list === */
.archive-row {
  display: grid;
  grid-template-columns: 100px 1fr 1.6fr auto;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.archive-row:last-of-type { border-bottom: 1px solid var(--rule); }

/* === App callout - bigger, multi-platform === */
.app-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding: clamp(40px, 5.5vw, 84px);
  border: 1px solid #131820;
  background: #131820;
  color: #fafaf7;
  position: relative;
  overflow: hidden;
}
.app-callout::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -8%;
  width: 56%;
  height: 200%;
  background: radial-gradient(closest-side, rgba(251, 218, 65, 0.18), transparent 70%);
  pointer-events: none;
}
.app-callout .app-icon {
  width: clamp(108px, 13vw, 168px);
  height: clamp(108px, 13vw, 168px);
  border-radius: clamp(22px, 2.6vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0,0,0,0.45);
}
.app-callout .app-icon img { width: 100%; height: 100%; display: block; }
.app-callout .app-copy { position: relative; z-index: 1; }
.app-callout .app-copy .app-tag {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11.5px;
  color: var(--yellow);
  font-weight: 600;
}
.app-callout .app-copy h3 {
  font-family: var(--serif);
  color: #fafaf7;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
  margin: 14px 0 16px;
  max-width: 18ch;
}
.app-callout .app-copy h3 em { font-style: italic; color: var(--yellow); }
.app-callout .app-copy p {
  font-family: var(--sans);
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 44em;
}
.app-callout .app-platforms {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin-top: 18px;
}
.app-callout .app-cta {
  display: flex;
  gap: 12px;
  flex-direction: column;
  align-items: stretch;
  position: relative;
  z-index: 1;
  min-width: 240px;
}
.app-callout .btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid #fafaf7;
  background: #fafaf7;
  color: #131820;
  font-family: var(--sans);
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.app-callout .btn-store:hover { background: var(--yellow); border-color: var(--yellow); color: #131820; transform: translateY(-1px); }
.app-callout .btn-store .as-glyph { font-size: 24px; line-height: 1; margin-top: -2px; min-width: 22px; text-align: center; }
.app-callout .btn-store .as-stack { display: flex; flex-direction: column; line-height: 1; flex: 1; text-align: left; }
.app-callout .btn-store .as-stack small { font-size: 9.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.65; }
.app-callout .btn-store .as-stack b { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; margin-top: 3px; }
.app-callout .btn-store.btn-store-ghost { background: transparent; color: #fafaf7; border-color: rgba(255,255,255,0.45); }
.app-callout .btn-store.btn-store-ghost:hover { background: #fafaf7; color: #131820; border-color: #fafaf7; }
/* Legacy class - old pages still use it */
.app-callout .btn-appstore { display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; border: 1px solid #fafaf7; background: #fafaf7; color: #131820; font-family: var(--sans); font-weight: 600; white-space: nowrap; text-decoration: none; }
.app-callout .btn-appstore:hover { background: var(--yellow); border-color: var(--yellow); color: #131820; }
.app-callout .btn-appstore .as-glyph { font-size: 24px; line-height: 1; margin-top: -2px; }
.app-callout .btn-appstore .as-stack { display: flex; flex-direction: column; line-height: 1; }
.app-callout .btn-appstore .as-stack small { font-size: 9.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.65; }
.app-callout .btn-appstore .as-stack b { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; margin-top: 3px; }

@media (max-width: 880px) {
  .app-callout { grid-template-columns: 1fr; text-align: left; padding: clamp(28px, 6vw, 48px); }
  .app-callout .app-cta { align-items: stretch; min-width: 0; }
  .app-callout .btn-store, .app-callout .btn-appstore { width: 100%; justify-content: flex-start; }
}

/* === Video grid (Media page) === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.video-card { margin: 0; }
.video-card .video-wrap {
  border: 1px solid var(--rule);
  background: #000;
}
.video-card .video-wrap iframe { border: 0; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* Clickable thumbnail buttons that open the modal */
button.video-card {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--rule);
  background: #000;
}
.video-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease, filter 0.2s;
}
button.video-card:hover .video-thumb img,
button.video-card:focus-visible .video-thumb img {
  transform: scale(1.04);
  filter: brightness(0.85);
}
.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: auto; height: auto;
  background: transparent;
  border: 0;
  font-size: 0;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  transition: transform 0.2s ease;
  pointer-events: none;
}
.video-play::before {
  content: "";
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 28px 0 28px 44px;
  border-color: transparent transparent transparent #fff;
}
button.video-card:hover .video-play,
button.video-card:focus-visible .video-play,
.feat-vid:hover .video-play,
.feat-vid:focus-visible .video-play {
  transform: translate(-50%, -50%) scale(1.08);
}
button.video-card:hover .video-play::before,
button.video-card:focus-visible .video-play::before,
.feat-vid:hover .video-play::before,
.feat-vid:focus-visible .video-play::before {
  border-left-color: #fff;
}
@media (max-width: 768px) {
  .video-play::before { border-width: 22px 0 22px 34px; }
}

/* === Home "Watch & listen" video slider === */
.feat-slider {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 12px;
  margin: 0 calc(-1 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.feat-slider::-webkit-scrollbar { display: none; }
.feat-vid {
  flex: 0 0 clamp(280px, 42%, 420px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.feat-vid .video-thumb { border: 1px solid var(--rule); }
.feat-vid .feat-kicker {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.feat-vid .feat-title {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 6px;
}
.feat-vid .feat-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 4px;
}
.feat-vid:hover .feat-title { color: var(--accent); }
@media (max-width: 600px) {
  .feat-vid { flex-basis: 82%; }
  .feat-vid .feat-title { font-size: 18px; }
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
  cursor: pointer;
}
.video-modal-content {
  position: relative;
  width: min(1100px, 95vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.video-modal-frame {
  aspect-ratio: 16/9;
  width: 100%;
  background: #000;
  border: 1px solid var(--rule);
}
.video-modal-frame iframe,
.video-modal-frame video {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.video-modal-caption {
  font-family: var(--sans);
  font-size: 14px;
  color: #ececea;
  letter-spacing: 0.04em;
  text-align: center;
}
.video-modal-close {
  position: absolute;
  top: -42px;
  right: 0;
  background: transparent;
  border: 0;
  color: #ececea;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
}
.video-modal-close:hover { color: var(--accent); }
@media (max-width: 600px) {
  .video-modal-close { top: -38px; font-size: 28px; }
}
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

/* === Audio platforms (Media page) === */
.audio-platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.audio-platform {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 22px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid var(--rule);
  background: rgba(243, 241, 234, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease;
}
.audio-platform:hover { background: rgba(243, 241, 234, 0.09); border-color: var(--ink-soft); }
:root[data-theme="dark"] .audio-platform { background: rgba(255,255,255,0.03); }
:root[data-theme="dark"] .audio-platform:hover { background: rgba(255,255,255,0.07); }
.audio-logo {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}
.audio-logo svg { width: 72%; height: 72%; display: block; }
.audio-logo-bandcamp { background: #1da0c3; color: #fff; }
.audio-logo-spotify  { background: #1ed760; color: #0f1115; }
.audio-platform-meta .audio-kicker {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.audio-platform-meta .audio-name {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 4px 0 8px;
  line-height: 1;
}
.audio-platform-meta .audio-action {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
@media (max-width: 760px) {
  .audio-platforms { grid-template-columns: 1fr; }
  .audio-platform { grid-template-columns: 72px 1fr; padding: 20px 22px; gap: 18px; }
  .audio-logo { width: 72px; height: 72px; }
}

/* === Open-call summary cards (opportunities.html) === */
.calls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.call-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 22px;
  padding: 28px 30px;
  border: 1px solid var(--rule);
  background: rgba(243, 241, 234, 0.04);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease;
}
.call-card:hover { background: rgba(243, 241, 234, 0.09); border-color: var(--ink-soft); }
:root[data-theme="dark"] .call-card { background: rgba(255,255,255,0.03); }
:root[data-theme="dark"] .call-card:hover { background: rgba(255,255,255,0.07); }
.call-card-no {
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  font-weight: 300;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.call-card-cycle {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
}
.call-card-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 6px 0 12px;
}
.call-card-desc {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0 0 16px;
  max-width: 38em;
}
.call-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
}
.call-status {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  padding: 4px 12px;
  border: 1px solid var(--red);
  border-radius: 999px;
}
.call-action {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.call-card:hover .call-action { color: var(--accent); }
@media (max-width: 880px) {
  .calls-grid { grid-template-columns: 1fr; }
  .call-card { grid-template-columns: 80px 1fr; padding: 22px; gap: 16px; }
  .call-card-no { font-size: 44px; }
}

/* === Open-call detail pages === */
.status-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 14px 20px;
  margin: 28px 0 36px;
  background: rgba(168, 36, 36, 0.08);
  border: 1px solid rgba(168, 36, 36, 0.35);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.5;
  border-radius: 999px;
}
.status-strip strong { color: var(--red); font-weight: 700; }
.status-strip em { font-style: italic; color: var(--accent); }
.status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(168,36,36,0.18);
  flex-shrink: 0;
}

.call-detail {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  margin: 16px 0 56px;
}
.call-detail-main { max-width: 44em; }
.call-detail-main p, .call-detail-main li {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.call-detail-main p { margin: 0 0 16px; }
.call-detail-main ul { padding-left: 1.1em; margin: 0 0 22px; }
.call-detail-main ul li { margin: 6px 0; }
.call-detail-main strong { color: var(--ink); font-weight: 600; }
.call-detail-main em { color: var(--accent); font-style: italic; }
.call-h3 {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 30px 0 14px;
}

.call-detail-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: 120px;
}
.side-card {
  border: 1px solid var(--rule);
  padding: 16px 18px;
  background: rgba(243, 241, 234, 0.04);
}
:root[data-theme="dark"] .side-card { background: rgba(255,255,255,0.03); }
.side-card .side-h {
  font-family: var(--sans);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 6px;
}
.side-card .side-v {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
}
.side-card .side-v a { color: var(--accent); border-bottom: 1px solid currentColor; }

.call-history { margin-top: 32px; max-width: 720px; }
.history-list { list-style: none; padding: 0; margin: 0; }
.history-list .history-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.history-list .history-row:last-child { border-bottom: 1px solid var(--rule); }
.history-cycle {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
}
.history-status {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

@media (max-width: 880px) {
  .call-detail { grid-template-columns: 1fr; gap: 32px; }
  .call-detail-side { position: static; }
  .history-list .history-row { grid-template-columns: 1fr; gap: 4px; }
}

/* === Ensemble member name === */
.member-name {
  font-family: var(--serif);
  font-size: clamp(30px, 3.4vw, 52px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  margin: 10px 0 0;
}

/* === Bio tabs + downloads === */
.bio-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--rule);
}
.bio-tabs button {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 18px;
  text-align: left;
  padding: 16px 0;
  border: none;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  transition: color 160ms ease, background 160ms ease;
  color: var(--ink-2);
}
.bio-tabs button .bt-label {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.bio-tabs button .bt-meta {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.bio-tabs button:hover .bt-label,
.bio-tabs button.active .bt-label { color: var(--accent); }
.bio-tabs button.active .bt-meta { color: var(--accent); }
.bio-downloads {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  align-items: flex-start;
}
.bio-version { animation: bioFade 260ms ease; }
@keyframes bioFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Copy-bio button (under each long/medium/short version) */
.bio-copy {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 20px;
  padding: 11px 18px;
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.bio-copy::before {
  content: "";
  display: inline-block;
  width: 12px; height: 14px;
  margin-right: -4px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
  position: relative;
  vertical-align: -2px;
  box-shadow: inset 3px -3px 0 -1.5px var(--paper), 3px -3px 0 -1.5px currentColor;
}
.bio-copy .bc-hint {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 12px;
}
.bio-copy:hover { background: var(--ink); color: var(--paper); }
.bio-copy:hover .bc-hint { color: var(--paper); opacity: 0.72; }
.bio-copy.copied {
  background: var(--accent) !important;
  border-color: var(--accent);
  color: #131820 !important;
}
.bio-copy.copied .bc-hint { color: #131820 !important; opacity: 0.7; }
.bio-copy.copied::before { display: none; }
.bio-copy.copied .bc-label::before {
  content: "✓ ";
  font-weight: 700;
}

/* Mobile: bio tabs as a horizontal segmented control (three rectangular chips) */
@media (max-width: 860px) {
  .bio-tabs {
    flex-direction: row;
    border-top: 0;
    border: 1px solid var(--rule);
    margin-top: 24px;
  }
  .bio-tabs button {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 12px 8px;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
    text-align: center;
  }
  .bio-tabs button:last-child { border-right: 0; }
  .bio-tabs button .bt-label {
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
  }
  .bio-tabs button .bt-meta {
    font-size: 10px;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
  }
  .bio-tabs button.active {
    background: var(--accent) !important;
    border-color: var(--accent);
  }
  .bio-tabs button.active .bt-label { color: #131820 !important; }
  .bio-tabs button.active .bt-meta  { color: #131820 !important; opacity: 0.75; }
  .bio-tabs button:hover .bt-label { color: var(--ink); }
  .bio-downloads {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }
  .bio-downloads .btn { flex: 1 1 auto; justify-content: center; }
}

/* === Archive section wrapper === */
.archive-section { padding: 24px 0 96px; position: relative; }

/* === Archive list - clean horizontal cards ===
   Each event is a single full-width card: image on the left, text on
   the right. Big productions get a wider image column. nophoto cards
   are text-only full-width rows. */
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
}
.archive-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(243, 241, 234, 0.05);
  border: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease, border-color 200ms ease;
  align-items: stretch;
  overflow: hidden;
}
.archive-card:hover { background: rgba(243, 241, 234, 0.09); border-color: var(--ink-soft); }
:root[data-theme="dark"] .archive-card { background: rgba(255,255,255,0.03); }
:root[data-theme="dark"] .archive-card:hover { background: rgba(255,255,255,0.07); }
.archive-card .ac-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  border-right: 1px solid var(--rule);
  min-height: 320px;
}
.archive-card .ac-media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform 0.7s ease;
}
.archive-card:hover .ac-media img { transform: scale(1.04); }
.archive-card.big { grid-template-columns: 1.6fr 1fr; }
.archive-card.big .ac-media { min-height: 480px; }
.archive-card.nophoto { grid-template-columns: 1fr; }
.archive-card.nophoto .ac-media { display: none; }
.archive-card .ac-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}
.archive-card .ac-date {
  font-family: var(--sans);
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 14px;
}
.archive-card .ac-date .y { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.archive-card .ac-date .m { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.archive-card .ac-date .d { font-family: var(--serif); font-size: 28px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }
.archive-card .ac-series {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}
.archive-card .ac-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.14;
  margin: 0;
}
.archive-card.big .ac-title { font-size: clamp(26px, 3vw, 44px); }
.archive-card .ac-venue {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 10px;
  line-height: 1.5;
}
@media (max-width: 980px) {
  .archive-list { grid-template-columns: 1fr; }
  .archive-card.big { grid-column: auto; }
}
@media (max-width: 640px) {
  .archive-card { grid-template-columns: 1fr; gap: 18px; padding: 16px; }
  .archive-card .ac-media, .archive-card.big .ac-media { height: 220px; }
  .archive-card .ac-body { padding: 4px; order: 1; }
  .archive-card .ac-media { order: 2; }
}

/* === Full-width archive: asymmetric 12-col grid === */
.wide-wrap {
  width: 100%;
  padding: 0 clamp(20px, 3vw, 36px);
  margin: 0;
  position: relative;
}
.archive-grid-x {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: clamp(12px, 1.4vw, 22px);
  margin-bottom: 56px;
}
.archive-card-x {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  grid-column: span 4;
}
.archive-card-x.x-big   { grid-column: span 6; grid-row: span 2; }
.archive-card-x.x-med   { grid-column: span 4; }
.archive-card-x.x-small { grid-column: span 3; }
/* Nophoto: text-only card, no media area, smaller footprint */
.archive-card-x.x-text  { grid-column: span 3; }
.archive-card-x.x-text .ac-textcard {
  border: 1px solid var(--rule);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--paper-2);
  transition: background var(--t-fast), border-color var(--t-fast);
  height: 100%;
  min-height: 180px;
}
.archive-card-x.x-text:hover .ac-textcard {
  background: var(--paper-3);
  border-color: var(--ink);
}
.archive-card-x.x-text .ac-textdate {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--sans);
}
.archive-card-x.x-text .ac-textdate .y { font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.archive-card-x.x-text .ac-textdate .m { font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.archive-card-x.x-text .ac-textdate .d { font-family: var(--serif); font-size: 32px; font-weight: 300; line-height: 1; letter-spacing: -0.02em; color: var(--ink); }

.archive-card-x .ac-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-2);
  aspect-ratio: 4/3;
  border: 1px solid var(--rule);
}
.archive-card-x.x-big .ac-media { aspect-ratio: 16/10; }
.archive-card-x.x-small .ac-media { aspect-ratio: 1/1; }
.archive-card-x .ac-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.7s ease, filter 0.5s ease;
}
.archive-card-x:hover .ac-media img { transform: scale(1.05); }

.archive-card-x .ac-media.nophoto {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-3);
}
.archive-card-x .ac-media.nophoto .ac-monogram {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 96px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  line-height: 1;
}

.archive-card-x .ac-date {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(15, 17, 21, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 8px 12px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
  color: #fafaf7;
}
.archive-card-x .ac-date .y {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  line-height: 1.4;
}
.archive-card-x .ac-date .m {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-top: 2px;
}
.archive-card-x .ac-date .d {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fafaf7;
  margin-top: 2px;
}
.archive-card-x.x-big .ac-date .d { font-size: 32px; }
.archive-card-x.x-small .ac-date { padding: 6px 10px 4px; min-width: 48px; }
.archive-card-x.x-small .ac-date .d { font-size: 20px; }

.archive-card-x .ac-body { padding: 12px 4px 0; }
.archive-card-x .ac-series {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  color: var(--accent);
  font-weight: 600;
}
.archive-card-x .ac-title {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.18;
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 6px 0 0;
}
.archive-card-x.x-big .ac-title { font-size: clamp(22px, 2.4vw, 36px); margin-top: 10px; }
.archive-card-x.x-small .ac-title { font-size: 16px; }
.archive-card-x .ac-venue {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.4;
}
.archive-card-x.x-small .ac-venue { font-size: 12px; }

@media (max-width: 1100px) {
  .archive-card-x          { grid-column: span 6; }
  .archive-card-x.x-big    { grid-column: span 12; grid-row: auto; }
  .archive-card-x.x-med    { grid-column: span 6; }
  .archive-card-x.x-small  { grid-column: span 6; }
}
@media (max-width: 640px) {
  .archive-card-x,
  .archive-card-x.x-big,
  .archive-card-x.x-med,
  .archive-card-x.x-small { grid-column: span 12; }
}

/* === Individual event page === */
.event-page { padding: 40px 0 80px; }
.back-to-archive {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--ink-soft);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 28px;
}
.back-to-archive:hover { color: var(--ink); }

/* Header sits above the layout (full width) */
.event-header {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
  margin-bottom: 32px;
}
.event-header .event-series {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

/* === Two-column layout: main on left + sticky sidebar on right === */
.event-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
  margin-top: 48px;
}
.event-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-family: var(--sans);
}
.event-meta {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ink);
}
.meta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.meta-h {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.meta-v {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
}
.meta-v .meta-month {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 4px;
}
.meta-v .meta-day {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.meta-v .meta-year {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* Program nested inside the sidebar: more compact than when in main */
.event-sidebar .event-program {
  margin: 0;
  max-width: none;
}
.event-sidebar .event-program .event-h2 {
  font-size: 20px;
  margin-bottom: 14px;
  padding-bottom: 10px;
}
.event-sidebar .event-program .program-prose {
  font-size: 13.5px;
  line-height: 1.6;
}
.event-sidebar .event-program .program-prose p { margin: 0 0 10px; }
.event-sidebar .pgm-list li {
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 10px 0;
}
.event-sidebar .pgm-composer { font-size: 15px; }
.event-sidebar .pgm-work { font-size: 13px; }

.event-sidebar .event-foot {
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.event-sidebar .event-foot .btn {
  width: 100%;
  text-align: center;
}
.event-sidebar .event-funders { margin: 0; padding-top: 0; border-top: 0; }

.event-main > section { margin-bottom: 48px; }
.event-main > section:last-child { margin-bottom: 0; }
.event-main .event-description { max-width: none; }
.event-main .event-artists { max-width: none; }

@media (max-width: 900px) {
  .event-layout { grid-template-columns: 1fr; gap: 40px; margin-top: 0; }
  .event-sidebar { position: static; }
  /* On mobile, give the program room to breathe with its full-size styling */
  .event-sidebar .event-program .event-h2 { font-size: clamp(24px, 2.6vw, 36px); margin-bottom: 24px; padding-bottom: 12px; }
  .event-sidebar .event-program .program-prose { font-size: 16px; line-height: 1.7; }
  .event-sidebar .pgm-list li { grid-template-columns: 1fr; gap: 4px; }
  .event-sidebar .pgm-composer { font-size: 18px; }
  .event-sidebar .pgm-work { font-size: 15px; }
}

.event-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 36px;
  align-items: end;
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--ink);
  padding: 14px 18px 12px;
  min-width: 96px;
}
.event-date .ey { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.event-date .em { font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 4px; }
.event-date .ed { font-family: var(--serif); font-size: 48px; line-height: 0.9; font-weight: 300; letter-spacing: -0.02em; color: var(--ink); margin-top: 6px; }
.event-series {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
}
.event-title {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: var(--ink);
  margin: 10px 0 0;
}
.event-venue {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 12px;
}
.event-hero {
  margin: 44px 0 56px;
  padding: 0;
}
.event-hero img {
  width: 100%;
  display: block;
  border: 1px solid var(--rule);
  aspect-ratio: 16/9;
  object-fit: cover;
}
.event-hero-nophoto {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  aspect-ratio: 21/9;
}
.event-hero-nophoto .ac-monogram {
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 300;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1;
}
.event-description { max-width: 700px; margin: 0 0 48px; }
.event-description p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
}
.event-program { margin: 0 0 56px; max-width: 760px; }
.event-program .program-prose {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.event-program .program-prose p { margin: 0 0 14px; }
.event-program .program-prose strong { color: var(--ink); font-weight: 600; }
.event-program .program-prose em { color: var(--accent); font-style: italic; }
.event-program .program-prose br { display: block; content: ""; margin-top: 4px; }
.event-program .program-prose a { color: var(--accent); border-bottom: 1px solid currentColor; }
.event-h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.6vw, 36px);
  font-weight: 300;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ink);
}
.pgm-list { list-style: none; padding: 0; margin: 0; }
.pgm-list li {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.pgm-list li:last-child { border-bottom: 1px solid var(--rule); }
.pgm-composer {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  font-weight: 400;
}
.pgm-work {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.5;
}
/* === Event-page media (hero + gallery merged) ===
   Desktop: masonry-feel gallery grid with a large first item.
   Mobile: Instagram-style full-width horizontal scroll-snap carousel. */
.event-media { margin: 0 0 48px; }
.event-media .g-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 140px;
  gap: 8px;
}
.event-media .g-item {
  display: block;
  overflow: hidden;
  border: 1px solid var(--rule);
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
}
.event-media .g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.event-media .g-item:hover img { transform: scale(1.04); }
/* First photo: extra large (hero feel) */
.event-media .g-item:first-child {
  grid-column: span 4;
  grid-row: span 3;
}
/* Second photo: tall */
.event-media .g-item:nth-child(2) {
  grid-column: span 2;
  grid-row: span 3;
}
/* Single photo: span the entire row */
.event-media.single .g-item { grid-column: 1 / -1; grid-row: span 4; }

/* Mobile: convert grid to a horizontal scroll-snap carousel
   The next slide peeks at the right so users see there's more to swipe. */
@media (max-width: 768px) {
  .event-media {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    position: relative;
  }
  .event-media .g-grid {
    display: flex;
    grid-template-columns: none;
    grid-auto-rows: none;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    aspect-ratio: 1 / 1;
    padding: 0 6vw;
    scroll-padding: 0 6vw;
  }
  .event-media .g-grid::-webkit-scrollbar { display: none; }
  .event-media .g-item,
  .event-media .g-item:first-child,
  .event-media .g-item:nth-child(2),
  .event-media.single .g-item {
    grid-column: auto;
    grid-row: auto;
    flex: 0 0 88vw;
    width: 88vw;
    height: 100%;
    aspect-ratio: 1 / 1;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    border: 0;
  }
  /* Single-photo events: full width, no peek (nothing else to swipe to) */
  .event-media.single .g-grid { padding: 0; scroll-padding: 0; }
  .event-media.single .g-item { flex-basis: 100vw; width: 100vw; }

  /* "1 / N" counter pill - JS updates the current index */
  .g-counter {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.62);
    color: #fff;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 5px 10px;
    border-radius: 12px;
    pointer-events: none;
    z-index: 2;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .event-media.single .g-counter { display: none; }
}
/* Hide counter on desktop (carousel collapses to grid) */
@media (min-width: 769px) { .g-counter { display: none; } }

/* === Media page · Photographs slider (Instagram-style on mobile) === */
.photo-cat { position: relative; }
.photo-cat-head { margin-bottom: 20px; }
.photo-cat-head .label { color: var(--accent); }

@media (max-width: 768px) {
  .photo-cat .photo-row {
    display: flex !important;
    grid-template-columns: none !important;
    gap: 8px !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
    padding: 0 6vw 4px;
    scroll-padding: 0 6vw;
  }
  .photo-cat .photo-row::-webkit-scrollbar { display: none; }
  .photo-cat .photo-row > .imedia,
  .photo-cat .photo-row > div {
    flex: 0 0 86vw;
    width: 86vw;
    aspect-ratio: 4 / 5 !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    height: auto;
  }
}

/* Tablet (between 769 and 1023): 4-col simplified grid */
@media (min-width: 769px) and (max-width: 1023px) {
  .event-media .g-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 120px;
  }
  .event-media .g-item { grid-column: span 2; grid-row: span 2; }
  .event-media .g-item:first-child { grid-column: span 4; grid-row: span 3; }
  .event-media .g-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
}

/* Backwards compatibility: legacy .event-gallery container (not used by new pages) */
.event-gallery { margin: 0 0 56px; }
.event-gallery .g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.event-gallery .g-item { aspect-ratio: 4/3; }

.event-artists { margin: 0 0 56px; max-width: 760px; }
.creative-row {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.creative-row:last-child { border-bottom: 1px solid var(--rule); }
.creative-h { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.creative-list { font-family: var(--serif); font-size: 17px; color: var(--ink); line-height: 1.5; font-weight: 300; }
.creative-list div { padding: 2px 0; }
@media (max-width: 640px) {
  .creative-row { grid-template-columns: 1fr; gap: 4px; }
}
.art-list { list-style: none; padding: 0; margin: 0; }
.art-list li {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.art-list li:last-child { border-bottom: 1px solid var(--rule); }
.art-name { font-family: var(--serif); font-size: 19px; color: var(--ink); font-weight: 400; letter-spacing: -0.005em; }
.art-role { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.12em; font-weight: 500; }

.event-funders { margin: 0 0 48px; max-width: 720px; padding: 28px 0 0; border-top: 1px solid var(--rule); }
.fund-row { margin-bottom: 22px; }
.fund-h { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 8px; }
.fund-p { font-family: var(--sans); font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; max-width: 50em; }

.event-foot { display: flex; gap: 14px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--rule); }
@media (max-width: 640px) {
  .event-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .pgm-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* === Old archive card grid (with photos) - legacy === */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 28px;
  margin-bottom: 48px;
}
@media (max-width: 980px) { .archive-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .archive-grid { grid-template-columns: 1fr; gap: 28px; } }

/* (Legacy .archive-card block removed - the canonical definitions live
   higher up in the file, under "Archive list - clean horizontal cards") */

.archive-row .ar-date {
  font-family: var(--sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: var(--ink-soft);
}
.archive-row .ar-title { font-family: var(--serif); font-size: 22px; color: var(--ink); font-weight: 300; letter-spacing: -0.01em; line-height: 1.2; }
.archive-row .ar-venue { font-family: var(--sans); font-size: 14px; color: var(--ink-2); }
.archive-row .ar-kind { font-family: var(--sans); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.14em; font-weight: 500; }
.archive-year-head {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  font-style: italic;
  margin: 56px 0 16px;
  color: var(--ink);
}
@media (max-width: 900px) {
  .archive-row { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
}
.masthead-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--gutter);
  max-width: var(--maxw);
  margin: 0 auto;
}
.masthead-left, .masthead-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.masthead-right { justify-content: flex-end; gap: 16px; }
.masthead-tickets {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #131820;
  background: var(--accent);
  border: 1px solid var(--accent);
  padding: 9px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.masthead-tickets:hover { filter: brightness(1.07); transform: translateY(-1px); }
.masthead-left .nav-burger { margin-right: 4px; }
.masthead-title {
  display: flex;
  align-items: center;
  justify-content: center;
}
.masthead-title .logo-img {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
body.hero-transparent .masthead .logo-img { filter: brightness(0) invert(1); }
body.hero-transparent .masthead.scrolled .logo-img { filter: none; }
:root[data-theme="dark"] .masthead .logo-img { filter: brightness(0) invert(1); }
:root[data-theme="dark"] body.hero-transparent .masthead.scrolled .logo-img { filter: brightness(0) invert(1); }

.nav-strip {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.nav-strip-inner {
  display: flex;
  align-items: stretch;
  max-width: var(--maxw);
  margin: 0 auto;
}
.nav-strip a {
  flex: 1;
  text-align: center;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
  border-right: 1px solid var(--rule);
  transition: background var(--t-fast), color var(--t-fast);
  position: relative;
}
.nav-strip a:last-child { border-right: none; }
.nav-strip a:hover { background: var(--paper-2); color: var(--ink); }
.nav-strip a.active {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

/* === Submenus === */
.nav-strip-inner .nav-item {
  flex: 1;
  position: relative;
  border-right: 1px solid var(--rule);
}
.nav-strip-inner .nav-item:last-child { border-right: none; }
.nav-strip-inner .nav-item > a {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-2);
  border-right: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-strip-inner .nav-item > a:hover { background: var(--paper-2); color: var(--ink); }
.nav-strip-inner .nav-item > a.active { background: var(--ink); color: var(--paper); font-weight: 600; }
.nav-strip-inner .nav-item > .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border: 1px solid var(--ink);
  border-top: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  z-index: 200;
  min-width: 220px;
}
.nav-strip-inner .nav-item:hover > .submenu,
.nav-strip-inner .nav-item:focus-within > .submenu,
.nav-strip-inner .nav-item > .submenu:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-item .submenu a {
  display: block;
  padding: 12px 18px;
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: 500;
  color: var(--ink-2);
  text-align: left;
  border-bottom: 1px solid var(--rule);
  border-right: none;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-item .submenu a:last-child { border-bottom: none; }
.nav-item .submenu a:hover { background: var(--paper-2); color: var(--accent); }

/* Hero-transparent variant - submenu uses dark glass */
body.hero-transparent .nav-item .submenu {
  background: rgba(15, 17, 21, 0.95);
  border-color: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
body.hero-transparent .nav-item .submenu a { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.1); }
body.hero-transparent .nav-item .submenu a:hover { background: rgba(255,255,255,0.06); color: var(--yellow); }
body.hero-transparent .masthead.scrolled .nav-item .submenu {
  background: var(--paper);
  border-color: var(--ink);
}
body.hero-transparent .masthead.scrolled .nav-item .submenu a { color: var(--ink-2); border-bottom-color: var(--rule); }
body.hero-transparent .masthead.scrolled .nav-item .submenu a:hover { background: var(--paper-2); color: var(--accent); }

/* Mobile: submenus always shown inline when nav is open */
@media (max-width: 980px) {
  .nav-item { flex: 0 0 auto; border-right: none; border-bottom: 1px solid var(--rule); }
  .nav-item > a { text-align: left; padding: 12px var(--gutter); }
  .nav-item .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: transparent;
    padding-left: var(--gutter);
    min-width: 0;
  }
  .nav-item .submenu a { padding: 8px var(--gutter); border-bottom: none; font-size: 12px; }
  body.hero-transparent .nav-item .submenu { background: transparent; }
}
.nav-strip a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--ink);
}

/* Mobile burger - hidden on desktop */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 14px;
}

/* === Colophon (footer) - pinned to dark navy regardless of theme === */
.colophon {
  background: #0e131c;
  color: #fafaf7;
  padding: 80px 0 28px;
  margin-top: 96px;
}
:root[data-theme="dark"] .colophon { background: #060810; border-top: 1px solid rgba(255,255,255,0.08); }

/* Supporter logos: invert in dark mode so dark artwork stays legible */
:root[data-theme="dark"] section img[src*="assets/logos/"]:not([alt="CreArtBox"]) {
  filter: brightness(0) invert(1);
  opacity: 0.78;
}
.colophon, .colophon ul, .colophon li, .colophon p, .colophon span { color: #fafaf7; }
.colophon a { color: #fafaf7; text-decoration: none; }
.colophon a:hover { color: var(--yellow); }
.colophon-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr;
  gap: 56px 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid #ffffff22;
}
.colophon h4 {
  font-family: var(--sans);
  font-size: 11px;
  color: #ffffffaa;
  font-weight: 600;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.colophon ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; font-family: var(--sans); }
.colophon-mark { font-family: var(--serif); font-size: 32px; font-weight: 300; letter-spacing: -0.01em; line-height: 1; margin-bottom: 16px; }
.colophon-bio { font-family: var(--sans); font-size: 15px; max-width: 34em; color: #ffffffcc; line-height: 1.6; margin: 0; }
.colophon-addr { font-family: var(--sans); font-size: 13px; color: #ffffff88; margin-top: 18px; }
.colophon-social { display: flex; gap: 20px; margin-top: 24px; font-family: var(--sans); font-size: 13px; flex-wrap: wrap; letter-spacing: 0.06em; }
.colophon-bot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  font-family: var(--sans);
  font-size: 12px;
  color: #ffffff77;
}

/* === Plate (image frame) === */
.imedia {
  position: relative;
  background: var(--paper-2);
  overflow: hidden;
  width: 100%;
  border: 1px solid var(--ink);
}
.imedia.duotone img { filter: grayscale(1) contrast(1.05) sepia(0.18); }
.imedia img { width: 100%; height: 100%; object-fit: cover; display: block; }
.imedia.cover-top img { object-position: top; }
.imedia.cover-bot img { object-position: bottom; }
.imedia.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 24px;
  background:
    linear-gradient(135deg, transparent 49.5%, var(--rule) 49.5%, var(--rule) 50.5%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, var(--rule) 49.5%, var(--rule) 50.5%, transparent 50.5%),
    var(--paper-2);
  background-size: 28px 28px;
}
figure { margin: 0; }
.cap {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 10px;
  letter-spacing: 0.01em;
}
.cap::before {
  content: "";
}

/* === Program table === */
.prog-table { width: 100%; border-collapse: collapse; }
.prog-table tr { border-top: 1px solid var(--ink); }
.prog-table tr:last-child { border-bottom: 1px solid var(--ink); }
.prog-table td {
  padding: 22px 16px;
  vertical-align: top;
  font-size: 17px;
}
.prog-table .when {
  white-space: nowrap;
  font-family: var(--sans);
  width: 14ch;
  color: var(--ink);
  font-size: 13px;
}
.prog-table .when .num {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 300;
  font-size: 40px;
  display: block;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.prog-table .where {
  width: 22ch;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-2);
}
.prog-table .title-cell {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.prog-table .actions { width: 1%; white-space: nowrap; text-align: right; }

/* === Multi-column === */
.cols-2 { column-count: 2; column-gap: 48px; column-rule: 1px solid var(--rule-2); }
.cols-3 { column-count: 3; column-gap: 40px; column-rule: 1px solid var(--rule-2); }
.cols-2 p, .cols-3 p { margin-top: 0; }
.cols-2 p + p, .cols-3 p + p { margin-top: 1em; text-indent: 1.4em; }

/* === Pull quote === */
.pull {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding: 36px 0;
  margin: 32px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--ink);
  break-inside: avoid;
  font-weight: 300;
}
.pull cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-top: 18px;
  font-weight: 600;
}

/* === Ink blocks === */
.ink-block { background: var(--yellow); color: #131820; border: 1px solid #131820; padding: 28px 32px; }
.ink-block .label { color: rgba(19,24,32,0.7); }
.ink-block h1, .ink-block h2, .ink-block h3, .ink-block p { color: #131820; }
.ink-block em, .ink-block h1 em, .ink-block h2 em, .ink-block h3 em { color: #131820; }
.ink-block-red { background: var(--red); color: #fafaf7; padding: 28px 32px; border: 1px solid var(--red); }
.ink-block-red .label, .ink-block-red h1, .ink-block-red h2, .ink-block-red h3, .ink-block-red p, .ink-block-red em { color: #fafaf7; }

/* Any inline yellow background - always show dark text including italics */
[style*="background:var(--yellow)"],
[style*="background: var(--yellow)"] { color: #131820; }
[style*="background:var(--yellow)"] .label,
[style*="background: var(--yellow)"] .label { color: rgba(19,24,32,0.7); }
[style*="background:var(--yellow)"] em,
[style*="background: var(--yellow)"] em,
[style*="background:var(--yellow)"] h1 em,
[style*="background:var(--yellow)"] h2 em,
[style*="background:var(--yellow)"] h3 em { color: #131820; }

/* === Index row === */
.index-row {
  display: grid;
  grid-template-columns: 2.5em 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-top: 1px solid var(--rule);
  text-decoration: none;
}
.index-row:last-of-type { border-bottom: 1px solid var(--rule); }
.index-row:hover { background: var(--paper-2); }
.index-row .num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--accent); font-weight: 300; }
.index-row .t { font-family: var(--serif); font-size: 22px; line-height: 1.2; font-weight: 300; color: var(--ink); }
.index-row .p { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); font-weight: 500; }

/* === Section padding === */
.section { padding: 88px 0; position: relative; }
.section-s { padding: 56px 0; position: relative; }
.section.tinted { background: var(--paper-2); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.section.bordered-top { border-top: 1px solid var(--ink); }

/* === Section title block === */
.section-title { margin-bottom: 48px; }
.section-title .head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
}
.section-title .head .bar { height: 1px; background: var(--ink); opacity: 0.2; }
.section-title h2 { margin-top: 36px; max-width: 22ch; }

/* === Generic two-column rows === */
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
.two-col-wide { display: grid; grid-template-columns: 1fr 3fr; gap: 64px; }
.two-col-balanced { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }

/* === Folio header (top of page) === */
.page-folio-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 24px;
  padding-bottom: 14px;
}

/* === Subscription card (donate) === */
.give-card {
  border: 2px solid var(--ink);
  padding: clamp(32px, 4vw, 48px);
  background: var(--paper);
}
.give-freq, .give-amts {
  display: flex;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.give-freq button, .give-amts button {
  flex: 1;
  padding: 16px 12px;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 17px;
  font-style: italic;
  border-right: 1px solid var(--ink);
  cursor: pointer;
}
.give-freq button:last-child, .give-amts button:last-child { border-right: none; }
.give-freq button.active, .give-amts button.active {
  background: var(--ink);
  color: var(--paper);
  font-style: normal;
}
.give-amts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--ink);
}
.give-amts button {
  padding: 24px 12px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  font-size: 30px;
  font-style: italic;
}
.give-amts button.active {
  background: var(--yellow);
  color: #131820;
  font-style: normal;
  font-weight: 500;
}
.give-custom {
  display: flex;
  align-items: stretch;
  border-left: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.give-custom .sym {
  padding: 0 18px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--ink);
  font-size: 22px;
  color: var(--ink-soft);
}
.give-custom input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 20px 16px;
  color: var(--ink);
  font-family: inherit;
  font-style: italic;
  font-size: 20px;
}

/* === Per-page pill sub-nav (mobile only) === */
.page-pills { display: none; }
@media (max-width: 980px) {
  .page-pills {
    display: block;
    position: sticky;
    top: 64px;
    z-index: 40;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    margin: 0 0 8px;
  }
  .page-pills-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 10px var(--gutter);
  }
  .page-pills-row::-webkit-scrollbar { display: none; }
  .page-pills a {
    flex: 0 0 auto;
    white-space: nowrap;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-2);
    background: transparent;
    border: 1px solid var(--rule);
    border-radius: 0;
    padding: 9px 14px;
    text-decoration: none;
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  }
  .page-pills a:active,
  .page-pills a:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }
  /* The in-page Projects TOC duplicates the mobile pill sub-nav — hide it */
  .projects-toc { display: none !important; }
}

/* === Classifieds (opportunities) === */
.classified {
  border: 1px solid var(--ink);
  background: var(--paper);
  transition: background var(--t-fast);
}
.classified.open { background: var(--paper-2); }
.classified-head {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 32px;
  align-items: baseline;
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 44px);
}
.classified.open .classified-head { border-bottom: 1px solid var(--rule); }
.classified-no {
  font-family: var(--serif);
  font-size: 56px;
  font-style: italic;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-weight: 300;
}
.classified-body {
  display: none;
  padding: clamp(24px, 3vw, 36px) clamp(28px, 3.5vw, 44px) clamp(32px, 4vw, 48px);
  grid-template-columns: 2fr 1fr;
  gap: 56px;
}
.classified.open .classified-body { display: grid; }

/* === FAQ === */
.faq details {
  border-top: 1px solid var(--rule);
  padding: 22px 0;
}
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  list-style: none;
  gap: 24px;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ind { font-family: var(--sans); color: var(--accent); font-size: 22px; font-weight: 300; }
.faq details[open] summary .ind::before { content: "−"; }
.faq details:not([open]) summary .ind::before { content: "+"; }
.faq p { font-family: var(--sans); margin-top: 14px; color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 38em; }

/* === Press blurb === */
.pressblurb p {
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.pressblurb cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-variant: small-caps;
  font-feature-settings: "smcp" 1;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--ink-soft);
}

/* === Donate impact rows === */
.impact-row {
  display: grid;
  grid-template-columns: 5em 9em 1fr;
  border-top: 1px solid var(--rule);
  padding: 20px 0;
  transition: opacity 220ms;
}
.impact-row.inactive { opacity: 0.45; }
.impact-row .check { font-family: var(--sans); font-size: 22px; color: var(--ink-soft); }
.impact-row .check.on { color: var(--accent); }
.impact-row .amt { font-family: var(--serif); font-size: 28px; font-weight: 300; letter-spacing: -0.01em; color: var(--ink); }
.impact-row .ttl { font-family: var(--serif); font-size: 22px; font-style: italic; font-weight: 300; color: var(--ink); }
.impact-row .desc { font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-top: 6px; }

/* === Responsive === */
@media (max-width: 980px) {
  .masthead-inner { grid-template-columns: auto 1fr auto; gap: 10px; }
  .masthead-left { display: flex; }
  .established { display: none; }
  .masthead-tickets { font-size: 11px; padding: 8px 14px; letter-spacing: 0.08em; }
  .masthead-title::before, .masthead-title::after { display: none; }

  /* Fullscreen mobile menu - drawer style */
  .nav-strip-inner {
    flex-direction: column;
    display: none;
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    background: var(--paper);
    z-index: 99;
    padding: 12px 0 40px;
    overflow-y: auto;
    margin: 0;
    max-width: none;
    border-top: 1px solid var(--ink);
  }
  .nav-strip-inner.open { display: flex; }

  .nav-strip a { flex: 0 0 auto; border-right: none; border-bottom: none; text-align: left; padding: 0; }
  .nav-burger { display: inline-block; }

  /* Each nav-item is a group (top-level + its inline submenu) */
  .nav-strip-inner .nav-item {
    flex: 0 0 auto;
    display: block;
    padding: 14px var(--gutter) 16px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
    position: relative;
  }
  .nav-strip-inner .nav-item:last-child { border-bottom: none; }

  /* Active item: yellow side indicator */
  .nav-strip-inner .nav-item:has(> a.active)::before {
    content: "";
    position: absolute;
    left: 0; top: 14px; bottom: 16px;
    width: 3px;
    background: var(--accent);
  }

  /* Top-level link */
  .nav-strip-inner .nav-item > a {
    display: block;
    text-align: left;
    padding: 2px 0;
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    line-height: 1.3;
    background: none !important;
  }
  .nav-strip-inner .nav-item > a.active { color: var(--accent); background: none !important; }
  /* Kill the desktop active caret/diamond inside the drawer */
  .nav-strip-inner .nav-item > a.active::after,
  .nav-strip-inner .nav-strip a.active::after { display: none !important; content: none !important; }

  /* No dropdowns on mobile — top-level links only */
  .nav-strip-inner .nav-item .submenu,
  .nav-strip-inner .nav-item > .submenu { display: none !important; }

  /* Solid background on hero-transparent page too */
  body.hero-transparent .nav-strip-inner.open {
    background: var(--paper);
    color: var(--ink);
    border-top: 1px solid var(--ink);
  }
  body.hero-transparent .nav-strip-inner.open .nav-item > a {
    color: var(--ink);
    text-shadow: none;
  }
  body.hero-transparent .nav-strip-inner.open .nav-item > a.active { color: var(--accent); }
  .colophon-grid { grid-template-columns: 1fr 1fr; }
  .cols-2, .cols-3 { column-count: 1; }
  .prog-table td { padding: 14px 8px; }
  .prog-table .where { width: auto; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; }
  .two-col, .two-col-wide, .two-col-balanced { grid-template-columns: 1fr !important; gap: 32px; }
  /* Beat inline grid-template-columns on bio articles + ink-block kids */
  article[style*="grid-template-columns"],
  div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 28px !important; }
  /* Ensemble bios + similar 2-col cards: photo always sits ABOVE the name on mobile */
  article[style*="grid-template-columns"] > figure { order: -1 !important; }
  /* Featured-concert ink-block card on Calendar page */
  .section .wrap > div[style*="grid-template-columns:1.2fr 1fr"],
  .section .wrap > div[style*="grid-template-columns: 1.2fr 1fr"] { grid-template-columns: 1fr !important; }
  .section .wrap > div[style*="grid-template-columns:1.2fr 1fr"] .imedia,
  .section .wrap > div[style*="grid-template-columns: 1.2fr 1fr"] .imedia { border-right: none !important; border-bottom: 1px solid var(--ink); }
  .classified-head { grid-template-columns: 1fr; gap: 16px; }
  .classified-body { grid-template-columns: 1fr; gap: 32px; }
  /* App callout becomes vertical */
  .app-callout { grid-template-columns: 1fr; text-align: left; }
  .app-callout .app-cta { align-items: flex-start; }
  /* Tables on mobile */
  .prog-table td.actions { text-align: left; padding-left: 0; }
}
@media (max-width: 640px) {
  .colophon-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 36px; }
  .colophon { padding: 56px 0 24px; margin-top: 64px; }
  .section { padding: 56px 0; }
  .section-s { padding: 36px 0; }
  .impact-row { grid-template-columns: 3em 7em 1fr; }
  .give-amts { grid-template-columns: repeat(3, 1fr); }
  .give-amts button { padding: 14px 6px; font-size: 18px; }
  .give-freq button { padding: 12px 8px; font-size: 15px; }
  .give-card { padding: 24px 18px; }
  .give-custom input { padding: 14px 14px; font-size: 17px; }
  .give-custom .sym { padding: 0 14px; font-size: 18px; }
  /* Hero text fits better on small screens */
  .hero-fullbleed h1 { font-size: clamp(34px, 9vw, 60px); }
  .hero-fullbleed .hero-content { padding-bottom: 32px; }
  .hero-fullbleed .hero-cta { width: 100%; }
  .hero-fullbleed .hero-cta .btn { flex: 1; justify-content: center; }
  /* Masthead title logo a touch smaller */
  .masthead-title .logo-img { height: 30px; }
  /* Program table cells stack */
  .prog-table { display: block; }
  .prog-table tbody, .prog-table tr, .prog-table td { display: block; width: 100%; }
  .prog-table tr { border-top: 1px solid var(--ink); padding: 18px 0; }
  .prog-table td { padding: 4px 0; }
  .prog-table .where { padding-top: 8px; }
  .prog-table .actions { padding-top: 12px; }
  .prog-table .when .num { font-size: 32px; }
}

/* ============================================================
   ARCHIVE - original Shopify eventarchive layout (verbatim)
   ============================================================ */

/* Archive page uses a solid black background regardless of theme */
body.archive-page {
  background: #000;
  color: #ececea;
}
body.archive-page .masthead,
body.archive-page .colophon {
  background: #000;
}

.archive-hero { padding: 64px 0 24px; }
body.archive-page .archive-hero,
body.archive-page .archive-hero .lede,
body.archive-page .archive-hero .label,
body.archive-page .archive-hero .folio,
body.archive-page .archive-hero .h-mast { color: #ececea; }

.page-wrap-gaawi {
  background: #000;
  padding: 40px 4% 80px;
  color: #ececea;
}

h1.yearhuge {
  font-size: 16em;
  font-weight: 100;
  display: block;
  margin: 0;
  margin-bottom: -100px;
  font-family: var(--serif);
  color: #6a665d;
  opacity: 0.9;
  letter-spacing: -0.04em;
  line-height: 1;
}
.andbefore {
  font-size: 45px;
  margin: 85px;
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0;
}
@media (max-width: 768px) {
  h1.yearhuge { font-size: 6em; margin-bottom: -10px; }
  .andbefore { font-size: 22px; margin: 28px; }
}

.calendarpast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: max-content;
  position: relative;
  z-index: 1;
}
@media (max-width: 768px) {
  .calendarpast { display: block !important; grid-template-columns: 1fr !important; padding: 5px; }
}

.eventpast {
  display: grid;
  grid-template-columns: 2fr 1fr;
  padding: 20px 20px;
  background: #121212;
  margin: 11px;
  color: #ececea;
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.eventpast.eventpast-linked:hover,
.eventpast.eventpast-linked:focus-visible {
  background: #1a1a1a;
  border-color: var(--accent);
  outline: none;
}
.eventpast.eventpast-linked:hover h3,
.eventpast.eventpast-linked:focus-visible h3 {
  color: var(--accent);
}
.eventpast.eventpast-linked:hover .imgpastevents {
  filter: brightness(1.05);
}
.eventpast h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 8px 0 4px;
}
.eventpast h5 {
  margin: 8px 0 0 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: inherit;
}
.eventpast h5 .fa { margin-right: 6px; opacity: 0.7; }
.eventpast h5 strong { font-weight: 600; }
.eventpast a.button {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  text-decoration: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.eventpast a.button:hover { background: currentColor; color: var(--paper); }
.eventpast .explore { margin-top: 10px; }

@media (max-width: 768px) {
  .eventpast { grid-template-columns: 1fr !important; }
}

.imgpastevents {
  width: 97%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.imgpastevents.big {
  width: 97%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 768px) {
  .imgpastevents, .imgpastevents.big { height: 200px; }
}

.eventpast.nophoto { display: block; }
.eventpast.home { grid-template-columns: 2fr 3fr; }
@media (max-width: 768px) {
  .eventpast.home { grid-template-columns: 1fr !important; }
}

.partofpast {
  font-size: 13px !important;
  color: #e07b7b;
}

.calendardatepast {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  font-weight: 100;
  font-size: 1em;
  padding-bottom: 4px;
}
.calendardatepast span { margin-right: 5px; }
.yearpast {
  display: block;
  font-size: 0.6em;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.monthpast {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.daypast {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

p.descriptionpast {
  font-size: 0.9em;
  margin: 22px 0;
  line-height: 1.5;
}

/* "View Program" modal trigger */
.myBtn_multi {
  border: none;
  text-decoration: underline;
  padding: 0;
  color: #b0b0aa;
  background: none;
  letter-spacing: 1px;
  font-family: var(--sans);
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
  display: inline-block;
}
.myBtn_multi:hover { color: var(--accent); }

/* "View Program" modal on archive index — centered card on dark backdrop */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 24px 16px;
  align-items: flex-start;
  justify-content: center;
}
.modal[style*="block"] { display: flex; }
.modal-content {
  position: relative;
  background-color: #141414;
  border: 1px solid #262626;
  border-top: 3px solid var(--accent);
  margin: clamp(24px, 6vh, 80px) auto;
  padding: 44px clamp(20px, 4vw, 44px) 36px;
  width: 100%;
  max-width: 640px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  text-align: left;
  color: #ececea;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}
.modal-content::before {
  content: "Program";
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: -8px 0 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid #262626;
}
.modal-content strong {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  color: var(--ink);
  display: block;
  margin-top: 14px;
  margin-bottom: 2px;
  letter-spacing: -0.005em;
}
.modal-content strong:first-of-type { margin-top: 0; }
.modal-content em, .modal-content i {
  font-style: italic;
  color: #b4b6bd;
  font-size: 14px;
}
.modal-content p { margin: 0 0 4px; }
.modal-content br { margin-bottom: 2px; }
.close {
  position: absolute;
  top: 10px;
  right: 12px;
  color: #6e7079;
  float: none;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
  background: transparent;
  border: 0;
  transition: color 0.15s;
  z-index: 1;
}
.close:hover, .close:focus { color: var(--accent); }
@media (max-width: 600px) {
  .modal { padding: 0; align-items: stretch; }
  .modal-content {
    margin: auto 0 0;
    max-width: 100%;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    max-height: 88vh;
    overflow-y: auto;
  }
}

/* Embedded video container (used for Ten Pages 2023) */
.eventpast .embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 10px;
}
.eventpast .embed-container iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.eventpast .media_caption {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 8px;
}

/* Faux fa-map-marker (we don't load FontAwesome) */
.fa-map-marker::before { content: "📍"; margin-right: 4px; }
i.fa { font-style: normal; }

/* ============================================================
   CONCERT LANDING PAGES - /concerts/<slug>.html
   ============================================================ */
.concert-landing .event-header { padding-top: 36px; }
.concert-landing .event-header .event-series {
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
}
.concert-when-where {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 16px;
  letter-spacing: 0.04em;
}

.concert-hero { margin: 36px 0 0; padding: 0; }
.concert-hero img {
  width: 100%;
  display: block;
  aspect-ratio: 16/7;
  object-fit: cover;
  border: 1px solid var(--rule);
}
/* Portrait poster hero: show the full artwork, centered, uncropped */
.concert-hero-poster { display: flex; justify-content: center; }
.concert-hero-poster img {
  width: auto;
  max-width: min(100%, 460px);
  max-height: 82vh;
  aspect-ratio: auto;
  object-fit: contain;
}

/* Ticket CTA card */
.ticket-cta {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
:root[data-theme="dark"] .ticket-cta { background: #121212; border-color: var(--ink); }
.btn-ticket {
  display: block;
  background: var(--accent);
  color: #131820 !important;
  border: 1px solid var(--accent);
  padding: 14px 18px;
  text-align: center;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: filter 0.15s;
}
.btn-ticket:hover { filter: brightness(1.08); }
.btn-ticket .ar { margin-left: 6px; }
.ticket-note {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}
.ticket-note a { color: var(--ink); border-bottom: 1px solid currentColor; }

/* Premiere star in program list */
.pgm-premiere { color: var(--accent); font-weight: 700; margin-right: 4px; }
.pgm-mins {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
  margin-left: 6px;
  letter-spacing: 0.04em;
}
.pgm-legend {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin: 16px 0 0;
  font-style: italic;
}

/* Festival sub-events list */
.event-subevents { margin: 0 0 48px; }
.sub-list { list-style: none; padding: 0; margin: 0; }
.sub-list li {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.sub-list li:last-child { border-bottom: 1px solid var(--rule); }
.sub-date {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.sub-title {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
}
.sub-venue { font-family: var(--sans); font-size: 13px; color: var(--ink-2); }
@media (max-width: 640px) {
  .sub-list li { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
}

/* About-CreArtBox block on landing pages */
.event-about {
  margin: 64px 0 0;
  padding: 36px 0 0;
  border-top: 1px solid var(--rule);
}
.event-about p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 14px;
  max-width: 60em;
}
.about-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Festival schedule table (used on ADAR archive pages) */
.event-schedule { margin: 0 0 40px; }
.sched-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 14px;
}
.sched-table thead th {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--ink);
}
.sched-table tbody td {
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.sched-day {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: 90px;
}
.sched-time {
  color: var(--ink-2);
  white-space: nowrap;
  width: 110px;
  font-variant-numeric: tabular-nums;
}
.sched-kind {
  color: var(--ink);
  font-weight: 500;
  white-space: nowrap;
  width: 130px;
}
.sched-venue {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
}
.sched-note {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 640px) {
  .sched-table thead { display: none; }
  .sched-table tbody td { display: block; padding: 2px 0; border: 0; }
  .sched-table tbody tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
  }
  .sched-day { width: auto; }
  .sched-time { width: auto; display: inline !important; margin-left: 8px; }
  .sched-kind { width: auto; font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--ink-soft); font-weight: 600; }
  .sched-venue { font-size: 15px; }
}

/* ============================================================
   "Show all photos" modal (archive subpages)
   ============================================================ */
.event-allphotos {
  margin: 24px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.allphotos-trigger { cursor: pointer; }
.allphotos-hint {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-soft);
  margin: 0;
  letter-spacing: 0.02em;
}

.allphotos-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  overflow: hidden;
}
.allphotos-modal.open { display: block; }
.allphotos-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}
.allphotos-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  padding: 56px clamp(16px, 4vw, 48px) 80px;
  color: #ececea;
  background: #0c1018;
}
.allphotos-modal-close {
  position: fixed;
  top: 12px;
  right: 16px;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.3);
  color: #ececea;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  border-radius: 20px;
  z-index: 1;
}
.allphotos-modal-close:hover { background: var(--accent); color: #131820; border-color: var(--accent); }

.allphotos-modal-head {
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}
.allphotos-modal-head h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: #ececea;
}
.allphotos-modal-head p {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(236, 236, 234, 0.65);
  margin: 0;
}

.ga-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  max-width: 1600px;
  margin: 0 auto;
}
.ga-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1f2a;
  border: 1px solid rgba(255,255,255,0.06);
}
.ga-item img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease, opacity 0.2s;
  opacity: 0.92;
}
.ga-item:hover img { transform: scale(1.04); opacity: 1; }

.ga-raw-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  max-width: 1200px;
  margin: 0 auto;
}
.ga-raw-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 16px;
  background: #1a1f2a;
  border: 1px solid rgba(255,255,255,0.08);
  text-decoration: none;
  color: #ececea;
  font-family: var(--sans);
  font-size: 13px;
  transition: border-color 0.15s, background 0.15s;
}
.ga-raw-item:hover { border-color: var(--accent); background: #232a36; }
.ga-raw-name { letter-spacing: 0.04em; }
.ga-raw-ext {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

@media (max-width: 600px) {
  .ga-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .allphotos-modal-content { padding: 56px 12px 64px; }
}

/* ============================================================
   PROJECTS PAGE - category cards
   ============================================================ */
.vc-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.vc-card:hover { border-color: var(--accent); }
.vc-card:hover .vc-title { color: var(--accent); }
:root[data-theme="dark"] .vc-card { background: rgba(255,255,255,0.03); }
.vc-img { aspect-ratio: 4/3; overflow: hidden; }
.vc-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.vc-card:hover .vc-img img { transform: scale(1.04); }
.vc-meta {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.vc-year {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.vc-title {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.vc-sub {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
}
.vc-card-more {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
  border-style: dashed;
}
.vc-card-more .vc-meta { padding: 36px 18px; }

.projects-toc .btn {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

/* Visual-concerts grid: 3-col desktop, 2-col mobile with smaller type */
.vc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
}
@media (max-width: 980px) {
  .vc-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 640px) {
  .vc-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .vc-card .vc-meta { padding: 10px 12px 14px; gap: 4px; }
  .vc-card .vc-title { font-size: 14px; }
  .vc-card .vc-year { font-size: 9px; letter-spacing: 0.14em; }
  .vc-card .vc-sub { font-size: 11px; line-height: 1.4; }
}

/* Staged-productions grid - compact cards (4 desktop, 2 mobile) */
.stg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stg-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  background: var(--paper);
  transition: border-color 0.15s;
}
.stg-card:hover { border-color: var(--accent); }
.stg-card:hover .stg-title { color: var(--accent); }
:root[data-theme="dark"] .stg-card { background: rgba(255,255,255,0.03); }
.stg-img { aspect-ratio: 4/3; overflow: hidden; }
.stg-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s ease;
}
.stg-card:hover .stg-img img { transform: scale(1.04); }
.stg-meta {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stg-year {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.stg-title {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.stg-sub {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-2);
  line-height: 1.5;
}
.stg-card-text {
  border-style: dashed;
  background: transparent;
}
.stg-card-text .stg-meta { padding: 24px 16px; }

@media (max-width: 980px) {
  .stg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .stg-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .stg-meta { padding: 10px 12px 14px; gap: 4px; }
  .stg-title { font-size: 14px; }
  .stg-year { font-size: 9px; letter-spacing: 0.14em; }
  .stg-sub { font-size: 11px; line-height: 1.4; }
}

/* ============================================================
   Ensemble cards on mobile: 2-col grid + modal for full bio
   ============================================================ */
@media (max-width: 860px) {
  #ensemble .wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 18px;
  }
  #ensemble .wrap > *:not(article) { grid-column: 1 / -1; }

  #ensemble article {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--rule) !important;
    border-bottom: 1px solid var(--rule) !important;
    align-items: stretch !important;
    cursor: pointer;
    background: transparent;
    transition: border-color var(--t-fast), transform var(--t-fast);
  }
  #ensemble article:hover { border-color: var(--accent); }
  #ensemble article:active { transform: scale(0.99); }

  /* Photo: square crop, sits on top with no gap */
  #ensemble article > figure {
    order: -1 !important;
    margin: 0 !important;
  }
  #ensemble article > figure .imedia {
    aspect-ratio: 1 / 1 !important;
    border-radius: 0;
  }

  /* Compact caption block */
  #ensemble article > div {
    padding: 10px 12px 14px;
  }
  #ensemble article .label {
    font-size: 9.5px;
    letter-spacing: 0.14em;
    color: var(--ink-soft) !important;
  }
  #ensemble article h3.member-name {
    font-size: 17px;
    line-height: 1.2;
    margin: 4px 0 0 !important;
  }
  /* Hide everything else on the card; the modal reveals it */
  #ensemble article > div > p,
  #ensemble article > div > ul,
  #ensemble article > div > a,
  #ensemble article > div > div { display: none !important; }

  /* Hint "tap for more" */
  #ensemble article > div::after {
    content: "Tap for bio →";
    display: block;
    margin-top: 10px;
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
  }
}

/* Member modal (mobile only — desktop still uses the inline layout) */
.member-modal { display: none; position: fixed; inset: 0; z-index: 1000; }
.member-modal.open { display: block; }
.member-modal-bg {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: pointer;
}
.member-modal-content {
  position: relative;
  width: min(560px, 94vw);
  max-height: 90vh;
  margin: 5vh auto;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 36px 24px 28px;
  overflow-y: auto;
  color: var(--ink);
}
.member-modal-close {
  position: absolute;
  top: 6px; right: 8px;
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  z-index: 2;
}
.member-modal-close:hover { color: var(--accent); }
/* Inside the modal: undo the card collapsing, show everything */
.member-modal-body figure { margin: 0 0 18px !important; }
.member-modal-body figure .imedia { aspect-ratio: 4/5 !important; max-width: 240px; margin: 0 auto; }
.member-modal-body .label {
  font-size: 10px !important;
  letter-spacing: 0.18em !important;
  color: var(--red) !important;
  text-transform: uppercase;
}
.member-modal-body h3.member-name {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  font-weight: 400;
  margin: 6px 0 0;
}
.member-modal-body p {
  display: block !important;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 14px 0 0;
}
.member-modal-body ul {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  font-family: var(--sans);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
}
.member-modal-body a,
.member-modal-body > div > a,
.member-modal-body > div > div {
  display: inline-flex !important;
}
.member-modal-body > div > div {
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.member-modal-body::after { content: none !important; }
@media (max-width: 600px) {
  .member-modal-content { margin: 0; min-height: 100vh; width: 100vw; max-height: 100vh; }
}

/* Instrument chip on each ensemble card (visible BEFORE opening the modal) */
.member-instrument {
  display: none;
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #131820;
  background: var(--accent);
  padding: 5px 9px;
  z-index: 2;
}
@media (max-width: 860px) {
  #ensemble article > figure { position: relative; }
  .member-instrument { display: inline-block; }
}
/* Hide the chip if cloned into the modal (the role label inside is enough) */
.member-modal-body .member-instrument { display: none !important; }

/* ============================================================
   Staff / collaborators on mobile: match the ensemble 2-col grid
   ============================================================ */
@media (max-width: 860px) {
  #staff .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  #staff .grid-4 > div {
    border: 1px solid var(--rule);
    padding: 0;
    background: transparent;
  }
  #staff .grid-4 > div > .imedia {
    aspect-ratio: 1/1 !important;
  }
  #staff .grid-4 > div > div {
    padding: 10px 12px 14px;
    margin-top: 0 !important;
  }
  #staff .grid-4 > div > div > div:first-child {
    font-family: var(--serif);
    font-size: 17px !important;
    line-height: 1.2;
  }
  #staff .grid-4 > div > div .label.ital {
    font-size: 11px;
    margin-top: 4px !important;
  }
}

/* ============================================================
   History timeline: readable mobile layout
   ============================================================ */
@media (max-width: 860px) {
  #history .wrap > div[style*="grid-template-columns:140px 1fr 2.2fr"],
  #history .wrap > div[style*="grid-template-columns: 140px 1fr 2.2fr"] {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 20px 0 !important;
  }
  /* Date label becomes a small amber kicker, not italic gray */
  #history .wrap > div[style*="grid-template-columns:140px 1fr 2.2fr"] > .label,
  #history .wrap > div[style*="grid-template-columns: 140px 1fr 2.2fr"] > .label {
    font-family: var(--sans);
    font-size: 11px !important;
    font-style: normal !important;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
  }
  /* Title bigger and tighter */
  #history .wrap > div[style*="grid-template-columns:140px 1fr 2.2fr"] > h3,
  #history .wrap > div[style*="grid-template-columns: 140px 1fr 2.2fr"] > h3 {
    font-family: var(--serif);
    font-size: 22px !important;
    line-height: 1.2 !important;
    color: var(--ink);
    margin: 2px 0 0 !important;
  }
  #history .wrap > div[style*="grid-template-columns:140px 1fr 2.2fr"] > p,
  #history .wrap > div[style*="grid-template-columns: 140px 1fr 2.2fr"] > p {
    font-family: var(--sans);
    font-size: 14.5px !important;
    line-height: 1.55;
    color: var(--ink-2);
    margin: 6px 0 0 !important;
  }
}

/* ============================================================
   FEATURED TRACK LIST (Media · Audio section)
   ============================================================ */
.audio-featured {
  border: 1px solid var(--rule);
  padding: 28px clamp(20px, 3vw, 36px);
  background: rgba(255,255,255,0.02);
}
.audio-featured-head .label { color: var(--accent); }
.track-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  border-top: 1px solid var(--rule);
}
.track {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.15s;
}
.track:hover { background: rgba(255,255,255,0.03); }
.track-play {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
}
.track-play .tp-glyph {
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 6px 0 6px 9px;
  border-color: transparent transparent transparent var(--ink);
  margin-left: 2px;
}
.track:hover .track-play,
.track.playing .track-play {
  background: var(--accent);
  border-color: var(--accent);
}
.track:hover .track-play .tp-glyph,
.track.playing .track-play .tp-glyph {
  border-left-color: #131820;
}
.track.playing .track-play .tp-glyph {
  /* Pause icon: two vertical bars via box-shadow */
  width: 4px; height: 12px;
  border: 0;
  background: #131820;
  box-shadow: 6px 0 0 #131820;
  margin-left: 0;
}
.track-meta { min-width: 0; }
.track-composer {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.track-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-top: 2px;
}
.track-title .track-note {
  font-family: var(--sans);
  font-style: italic;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-left: 6px;
  letter-spacing: 0;
  text-transform: none;
}
.track.playing .track-title { color: var(--accent); }
.track-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
}

/* ============================================================
   PERSISTENT AUDIO DOCK (sticky bottom player across the site)
   ============================================================ */
.audio-dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 900;
  display: grid;
  grid-template-columns: 1fr auto 200px auto;
  align-items: center;
  gap: 16px;
  padding: 10px clamp(14px, 2vw, 22px);
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--ink);
  color: var(--ink);
  font-family: var(--sans);
}
.audio-dock[hidden] { display: none !important; }
.ad-info { min-width: 0; }
.ad-composer {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.ad-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink);
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ad-controls { display: flex; align-items: center; gap: 10px; }
.ad-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  display: grid;
  place-items: center;
  transition: background 0.15s, border-color 0.15s;
  padding: 0;
  line-height: 1;
}
.ad-btn:hover { background: rgba(255,255,255,0.06); border-color: var(--ink); }
.ad-play {
  width: 44px; height: 44px;
  background: var(--accent);
  border-color: var(--accent);
}
.ad-play:hover { background: var(--accent); filter: brightness(1.08); }
.ad-play .ad-glyph {
  display: block;
  width: 0; height: 0;
  border-style: solid;
  border-width: 7px 0 7px 11px;
  border-color: transparent transparent transparent #131820;
  margin-left: 2px;
}
.audio-dock.playing .ad-play .ad-glyph {
  width: 4px; height: 14px;
  border: 0;
  background: #131820;
  box-shadow: 6px 0 0 #131820;
  margin-left: 0;
}
.ad-progress { display: flex; flex-direction: column; gap: 4px; }
.ad-bar {
  height: 4px;
  background: rgba(255,255,255,0.14);
  cursor: pointer;
  border-radius: 999px;
  overflow: hidden;
}
.ad-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  transition: width 0.12s linear;
}
.ad-time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}
.ad-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  color: var(--ink-soft);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.ad-close:hover { color: var(--accent); }

/* Push page content above the dock when visible */
body.has-audio-dock { padding-bottom: 86px; }
body.has-audio-dock .colophon { margin-bottom: 0; }

@media (max-width: 720px) {
  .audio-dock {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "play info close"
      "progress progress progress";
    gap: 8px 12px;
    padding: 10px 12px 12px;
  }
  .ad-info { grid-area: info; }
  .ad-controls { grid-area: play; }
  .ad-controls .ad-btn:not(.ad-play) { display: none; }
  .ad-progress { grid-area: progress; }
  .ad-close { grid-area: close; }
  .ad-title { font-size: 14px; }
  body.has-audio-dock { padding-bottom: 110px; }
}

/* Calendar: tighten the gap between "The season." and the filter row on mobile */
@media (max-width: 720px) {
  .section-title { margin-bottom: 20px; }
  .section-title h2 { margin-top: 18px; }
  /* Filter tab row */
  [data-concert-tab] { font-size: 13px !important; padding: 8px 12px !important; }
  .section .wrap > div[style*="justify-content:flex-end"][style*="margin-bottom:24px"] {
    justify-content: stretch !important;
    margin-bottom: 12px !important;
  }
  .section .wrap > div[style*="justify-content:flex-end"][style*="margin-bottom:24px"] > [data-concert-tab] {
    flex: 1 1 0 !important;
    text-align: center;
  }
}

/* Resume overlay inside the audio dock (loading state -> player) */
.ad-resuming-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(15, 17, 21, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  z-index: 3;
  padding: 0 18px;
  overflow: hidden;
  animation: ad-resuming-in 280ms ease both;
}
.ad-resuming-out {
  animation: ad-resuming-out 320ms ease both;
}
.ad-resuming-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.ad-resuming-dots {
  display: inline-flex;
  gap: 4px;
}
.ad-resuming-dots i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  opacity: 0.4;
  animation: ad-resuming-dot 1s ease-in-out infinite;
}
.ad-resuming-dots i:nth-child(2) { animation-delay: 0.15s; }
.ad-resuming-dots i:nth-child(3) { animation-delay: 0.30s; }
.ad-resuming-bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: rgba(251, 218, 65, 0.18);
  overflow: hidden;
}
.ad-resuming-bar i {
  display: block;
  width: 36%;
  height: 100%;
  background: var(--accent);
  animation: ad-resuming-track 1.1s ease-in-out infinite;
}
/* Hide normal dock controls while resuming (so they "appear" after) */
.audio-dock.ad-is-resuming .ad-info,
.audio-dock.ad-is-resuming .ad-controls,
.audio-dock.ad-is-resuming .ad-progress,
.audio-dock.ad-is-resuming .ad-close { opacity: 0; transition: none; }
.audio-dock .ad-info,
.audio-dock .ad-controls,
.audio-dock .ad-progress,
.audio-dock .ad-close { opacity: 1; transition: opacity 280ms ease 80ms; }

@keyframes ad-resuming-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ad-resuming-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-4px); }
}
@keyframes ad-resuming-dot {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50%      { opacity: 1;   transform: translateY(-2px); }
}
@keyframes ad-resuming-track {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ============================================================
   Calendar filter — segmented control (same language as .bio-tabs)
   ============================================================ */
.filter-tabs {
  display: flex;
  border: 1px solid var(--rule);
  margin: 0 0 24px;
  overflow: hidden;
}
.filter-tabs button {
  flex: 1 1 0;
  padding: 12px 10px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--rule);
  cursor: pointer;
  font-family: var(--sans);
  color: var(--ink-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.filter-tabs button:last-child { border-right: 0; }
.filter-tabs .ft-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
}
.filter-tabs button:hover .ft-label { color: var(--ink); }
.filter-tabs button.active {
  background: var(--accent) !important;
  border-color: var(--accent);
}
.filter-tabs button.active .ft-label { color: #131820 !important; }

/* On desktop the segmented control doesn't need full width;
   sit it on the right edge to keep the previous layout. */
@media (min-width: 721px) {
  .filter-tabs {
    margin-left: auto;
    width: auto;
    max-width: 560px;
  }
  .filter-tabs button { padding: 11px 18px; }
}

/* On mobile the calendar header gap rule already targeted the old
   inline div; the new .filter-tabs is full-width by default. Drop
   the older overrides that hid the row at <=720px. */
@media (max-width: 720px) {
  .section .wrap > div[style*="justify-content:flex-end"][style*="margin-bottom:24px"] {
    /* old selector no longer matches anything — kept here as a safe no-op */
  }
}

/* === Composer roster list (about §04) === */
.roster-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--ink);
}
.roster-list > li {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.roster-list .rl-name {
  font-family: var(--display, "Fraunces", serif);
  font-size: 18px;
  line-height: 1.25;
  font-weight: 400;
}
.roster-list .rl-work {
  font-family: var(--sans, "Inter", sans-serif);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  font-style: italic;
}
@media (max-width: 720px) {
  .roster-list > li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
  .roster-list .rl-name { font-size: 19px; }
}

/* Composers archive page rows */
.season-block {
  padding: 36px 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
}
.season-block:first-of-type { border-top: 1px solid var(--ink); }
.season-block .season-label {
  font-family: var(--sans, "Inter", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-top: 6px;
}
.season-block .season-names {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 32px;
}
.season-block .season-names span {
  font-family: var(--display, "Fraunces", serif);
  font-size: 19px;
  line-height: 1.3;
}
@media (max-width: 720px) {
  .season-block {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }
  .season-block .season-names {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* === Composer roster thumbnails + modal (about §04 / composers.html) === */
.roster-list > li.has-composer-bio {
  cursor: pointer;
  grid-template-columns: 56px 1fr 1.2fr;
  align-items: center;
  padding: 14px 0;
  transition: background 0.15s ease;
}
.roster-list > li.has-composer-bio:hover {
  background: rgba(255, 255, 255, 0.03);
}
.roster-list .rl-thumb {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--rule);
  flex-shrink: 0;
}
.roster-list .rl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.season-names span.has-composer-bio {
  cursor: pointer;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.25);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.season-names span.has-composer-bio:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

@media (max-width: 720px) {
  .roster-list > li.has-composer-bio {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    padding: 12px 0;
  }
  .roster-list .rl-thumb {
    width: 40px;
    height: 40px;
    grid-row: 1 / 3;
  }
  .roster-list > li.has-composer-bio .rl-name { grid-column: 2; grid-row: 1; }
  .roster-list > li.has-composer-bio .rl-work { grid-column: 2; grid-row: 2; }
}

.composer-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.composer-modal.open { display: flex; }
.composer-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(10, 12, 16, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.composer-modal-content {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 4px;
  padding: 36px 36px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
:root[data-theme="dark"] .composer-modal-content {
  background: #1a1f28;
  color: #f1efe9;
}
.composer-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}
.composer-modal-close:hover { opacity: 1; }
.composer-modal .cm-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 22px;
  background: rgba(0, 0, 0, 0.2);
}
.composer-modal .cm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.composer-modal .cm-name {
  font-family: var(--display, "Fraunces", serif);
  font-size: 28px;
  line-height: 1.15;
  margin: 0 0 6px;
  font-weight: 400;
}
.composer-modal .cm-meta {
  font-family: var(--sans, "Inter", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.composer-modal .cm-bio {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 22px;
}
.composer-modal .cm-link {
  display: inline-block;
  font-family: var(--sans, "Inter", sans-serif);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1px solid currentColor;
  text-decoration: none;
  color: inherit;
}
.composer-modal .cm-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #131820;
}
.composer-modal .cm-link .ar { margin-left: 4px; }

@media (max-width: 600px) {
  .composer-modal { padding: 0; align-items: stretch; }
  .composer-modal-content {
    max-width: none;
    max-height: 100%;
    min-height: 100vh;
    border-radius: 0;
    padding: 56px 22px 32px;
  }
  .composer-modal .cm-photo { aspect-ratio: 1 / 1; }
  .composer-modal .cm-name { font-size: 24px; }
}
