/* ==========================================================================
   STRING POETS — VARIATION 3 · "LIGHT SCORE"
   Bright, cinematic, editorial. One instrument travels the whole page.
   ========================================================================== */

:root {
  --paper: #f6f2eb;
  --paper-2: #efe8dd;
  --paper-3: #e7dfd2;
  --white: #fffdfa;

  --ink: #15120f;
  --ink-2: #4a423b;
  --ink-3: #85796e;
  --ink-4: #b3a799;

  --teal: #138c90;
  --teal-deep: #0b6164;
  --amber: #c8803f;

  --hair: rgba(21, 18, 15, 0.1);
  --hair-2: rgba(21, 18, 15, 0.18);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 30px 80px -30px rgba(21, 18, 15, 0.25);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --max: 1400px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  background:
    radial-gradient(900px 600px at 82% 8%, rgba(200, 128, 63, 0.14), transparent 60%),
    radial-gradient(800px 700px at 10% 55%, rgba(19, 140, 144, 0.07), transparent 60%),
    var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: rgba(19, 140, 144, 0.18); }

.grain {
  position: fixed; inset: 0; z-index: 50; pointer-events: none;
  opacity: 0.035;
  background-image: radial-gradient(#2a1a10 0.6px, transparent 0.6px);
  background-size: 11px 11px;
}

/* --------------------------------------------------------------------------
   VIOLIN STAGE (fixed, travels)
   -------------------------------------------------------------------------- */
.violin-stage {
  position: fixed; inset: 0;
  width: 100vw; height: 100vh;
  z-index: 20;                 /* above content, below header */
  pointer-events: none;
  overflow: hidden;
}

#violin-canvas { width: 100%; height: 100%; display: block; }

.note-readout {
  position: absolute;
  left: 50%; bottom: 7vh;
  transform: translate(-50%, 6px);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-2);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s var(--ease);
  white-space: nowrap;
}
.note-readout.is-on { opacity: 1; transform: translate(-50%, 0); }

/* --------------------------------------------------------------------------
   LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  position: relative;
}

.section { position: relative; padding: clamp(6rem, 12vh, 10rem) 0; }

.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 1.5rem;
  align-items: center;
  min-height: 86vh;
}
.split--right .split-copy { grid-column: 7 / 13; }
.split--left  .split-copy { grid-column: 1 / 7; }

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

/* --------------------------------------------------------------------------
   TYPE
   -------------------------------------------------------------------------- */
.kicker,
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
  margin-bottom: 1.4rem;
}
.kicker { display: inline-flex; align-items: center; gap: 0.8rem; }
.kicker-rule { width: 32px; height: 1px; background: var(--ink-4); }
.eyebrow--sm { font-size: 0.66rem; margin-bottom: 0.6rem; color: var(--teal); }
.eyebrow--light { color: rgba(255, 253, 250, 0.8); margin-bottom: 0.8rem; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; color: var(--ink-2); }

.lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.45vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 36em;
  margin-bottom: 2.5rem;
}
.lead--sm { font-size: clamp(1.1rem, 1.25vw, 1.3rem); margin-bottom: 2rem; }

/* --------------------------------------------------------------------------
   REVEALS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   BUTTONS & LINKS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease), border-color 0.3s ease;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--teal-deep); transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--hair-2); background: transparent; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--lg { padding: 1rem 1.7rem; font-size: 0.84rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--hair-2);
  transition: border-color 0.3s ease, color 0.3s ease, gap 0.3s var(--ease);
}
.link-arrow:hover { color: var(--teal-deep); border-color: var(--teal-deep); gap: 0.85rem; }

/* Hero play button (the single sound control) */
.btn--play {
  display: inline-flex; align-items: center; gap: 0.9rem;
  padding: 0.55rem 1.3rem 0.55rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--hair-2);
  background: var(--white);
  text-align: left;
  box-shadow: 0 18px 40px -22px rgba(21, 18, 15, 0.35);
  transition: transform 0.35s var(--ease), border-color 0.3s ease, background 0.3s ease;
}
.btn--play:hover { transform: translateY(-2px); border-color: var(--ink); }
.btn--play.is-playing { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.play-disc {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center; flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn--play.is-playing .play-disc { background: var(--paper); color: var(--ink); }
.play-copy { display: flex; flex-direction: column; line-height: 1.2; }
.play-copy strong { font-size: 0.86rem; font-weight: 600; }
.play-copy small { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: var(--ink-3); }
.btn--play.is-playing .play-copy small { color: rgba(246, 242, 235, 0.65); }

.play-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 14px; margin-left: 0.3rem; }
.play-bars span { width: 2px; height: 4px; border-radius: 2px; background: var(--ink-4); transition: background 0.3s ease; }
.btn--play.is-playing .play-bars span { background: var(--amber); animation: bars 0.9s ease-in-out infinite alternate; }
.btn--play.is-playing .play-bars span:nth-child(2) { animation-delay: 0.18s; }
.btn--play.is-playing .play-bars span:nth-child(3) { animation-delay: 0.35s; }
.btn--play.is-playing .play-bars span:nth-child(4) { animation-delay: 0.5s; }
@keyframes bars { from { height: 3px; } to { height: 14px; } }

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding: 1.25rem 0;
  transition: padding 0.4s var(--ease), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  padding: 0.7rem 0;
  background: rgba(246, 242, 235, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--hair);
}
.header-inner {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand-logo { height: 34px; width: auto; }

.main-nav { display: flex; gap: 2.2rem; }
.main-nav a {
  font-size: 0.8rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 0.3rem 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav a.is-active { color: var(--ink); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem 0 4rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 2rem;
  flex: 1;
}
.hero-copy { max-width: 680px; }

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 5.3vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 1.8rem;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .line > span { display: block; transform: translateY(110%); }
.hero-title .line--italic > span { font-style: italic; color: var(--ink-2); padding-left: clamp(0.5rem, 3vw, 3rem); }
.hero-title em { font-style: italic; }
.no-js .hero-title .line > span, .lines-in .hero-title .line > span { transform: none; }

.hero-lead {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 30em;
  margin-bottom: 2.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }

.hero-stage-space { min-height: 58vh; }

.hero-foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 2rem;
}
.scroll-cue {
  display: inline-flex; align-items: center; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-3);
}
.scroll-cue-line { width: 48px; height: 1px; background: var(--ink-4); position: relative; overflow: hidden; }
.scroll-cue-line::after {
  content: ''; position: absolute; inset: 0; background: var(--ink);
  transform: translateX(-100%); animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
.hero-trust { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   VENUE RIBBON
   -------------------------------------------------------------------------- */
.ribbon {
  position: relative; z-index: 5;
  border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair);
  padding: 1.1rem 0;
  overflow: hidden;
  background: rgba(255, 253, 250, 0.5);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ribbon-track {
  display: flex; width: max-content; align-items: center; gap: 2.4rem;
  animation: ribbon 48s linear infinite;
  font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink-2);
  white-space: nowrap;
}
.ribbon-track i { font-style: normal; font-size: 0.6rem; color: var(--teal); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   01 · STORY
   -------------------------------------------------------------------------- */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.pillar {
  display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hair);
}
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--teal); line-height: 1; padding-top: 0.15rem; }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; margin-bottom: 0.35rem; }
.pillar p { font-size: 0.9rem; color: var(--ink-3); line-height: 1.6; max-width: 34em; }

/* --------------------------------------------------------------------------
   CINEMATIC FRAME
   -------------------------------------------------------------------------- */
.frame { position: relative; padding: 0 0 clamp(4rem, 10vh, 8rem); }
.frame-media {
  position: relative;
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  aspect-ratio: 21 / 9;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame-media img {
  width: 100%; height: 120%; object-fit: cover;
  position: absolute; left: 0; top: -10%;
  will-change: transform;
}
.frame-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(to top, rgba(15, 10, 6, 0.72), transparent);
  color: var(--white);
}
.frame-caption p {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2vw, 2rem); line-height: 1.25;
  max-width: 24em;
}

/* --------------------------------------------------------------------------
   02 · LISTENING ROOM (draggable strip)
   -------------------------------------------------------------------------- */
.films { padding-bottom: clamp(5rem, 10vh, 8rem); }
.films-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem;
  margin-bottom: 3rem;
}
.films-note { max-width: 28em; font-size: 0.92rem; color: var(--ink-3); }
.hint-drag { color: var(--ink); font-weight: 600; }

.strip {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 1rem;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  outline: none;
}
.strip.is-dragging { cursor: grabbing; }
.strip:focus-visible .strip-track { outline: 2px solid var(--teal); outline-offset: 12px; }
@media (hover: hover) and (pointer: fine) {
  .strip, .strip.is-dragging, .strip .film-media { cursor: none; }
}

.strip-track {
  display: flex; gap: clamp(1rem, 2vw, 2rem);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
  will-change: transform;
  width: max-content;
}

.film {
  flex: 0 0 auto;
  width: clamp(280px, 38vw, 560px);
}
.film-media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--paper-3);
  box-shadow: 0 24px 60px -30px rgba(21, 18, 15, 0.35);
}
.film-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.9s var(--ease), filter 0.6s ease;
  pointer-events: none;
}
.film:hover .film-media img { transform: scale(1.06); }
.film-index {
  position: absolute; left: 1rem; top: 1rem;
  font-size: 0.66rem; letter-spacing: 0.2em; font-weight: 600;
  color: var(--white);
  padding: 0.3rem 0.6rem; border-radius: 999px;
  background: rgba(15, 10, 6, 0.4); backdrop-filter: blur(6px);
}
.film-play {
  position: absolute; left: 50%; top: 50%;
  width: 64px; height: 64px; border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  background: rgba(255, 253, 250, 0.92); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease), background 0.3s ease;
  cursor: pointer;
}
.film-play svg { margin-left: 3px; }
.film:hover .film-play { transform: translate(-50%, -50%) scale(1); }
.film-play:hover { background: var(--white); }
.film-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0.25rem 0; }
.film-meta h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.film-meta p { font-size: 0.78rem; color: var(--ink-3); letter-spacing: 0.02em; white-space: nowrap; }

.drag-cursor {
  position: absolute; left: 0; top: 0;
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 600;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
  z-index: 5;
  mix-blend-mode: normal;
}
.strip.is-hover .drag-cursor { transform: translate(-50%, -50%) scale(1); }
.strip.is-dragging .drag-cursor { transform: translate(-50%, -50%) scale(0.82); }
.strip.is-over-play .drag-cursor { transform: translate(-50%, -50%) scale(0.4); background: var(--teal); }
.strip.is-over-play .drag-cursor span { opacity: 0; }
.drag-cursor span { transition: opacity 0.2s ease; }

.strip-foot { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 1.5rem; }
.strip-progress { flex: 1; height: 1px; background: var(--hair-2); position: relative; max-width: 420px; }
.strip-progress span {
  position: absolute; left: 0; top: -1px; height: 3px; width: 20%;
  background: var(--ink); border-radius: 2px;
  transform-origin: left;
}
.strip-nav { display: flex; gap: 0.5rem; }
.strip-btn {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  font-size: 1rem;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.strip-btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   03 · MOVEMENTS (accordion)
   -------------------------------------------------------------------------- */
.movement-list { border-top: 1px solid var(--hair-2); }
.movement { border-bottom: 1px solid var(--hair-2); }
.movement-head {
  width: 100%;
  display: grid;
  grid-template-columns: 2.6rem 1fr auto 2rem;
  align-items: baseline;
  gap: 1rem;
  padding: 1.4rem 0;
  text-align: left;
  color: var(--ink);
}
.movement-num { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--teal); }
.movement-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.1;
  transition: transform 0.5s var(--ease);
}
.movement-head:hover .movement-title { transform: translateX(6px); }
.movement-time { font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-3); white-space: nowrap; }
.movement-plus { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.movement-plus::before, .movement-plus::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 14px; height: 1px; background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.5s var(--ease);
}
.movement-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.movement.is-open .movement-plus::after { transform: translate(-50%, -50%) rotate(0deg); }

.movement-body {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows 0.7s var(--ease);
}
.movement.is-open .movement-body { grid-template-rows: 1fr; }
.movement-inner {
  overflow: hidden;
  display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.6rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s ease 0.1s, transform 0.6s var(--ease) 0.1s;
}
.movement.is-open .movement-inner { opacity: 1; transform: none; padding-bottom: 1.8rem; }
.movement-fig { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.movement-fig img { width: 100%; height: 100%; object-fit: cover; }
.movement-inner p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 1.1rem; }
.pairings { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 1rem; }
.pairings li {
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink);
  display: flex; gap: 0.5rem; align-items: baseline;
}
.pairings li::before { content: '♪'; font-style: normal; font-size: 0.7rem; color: var(--teal); }

/* --------------------------------------------------------------------------
   04 · ENSEMBLES
   -------------------------------------------------------------------------- */
.ensemble-tabs {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair-2);
  margin-bottom: 2rem;
}
.ensemble-tab {
  display: flex; flex-direction: column; gap: 0.2rem;
  padding: 1.1rem 0.9rem 1rem;
  text-align: left; color: var(--ink-3);
  position: relative;
  transition: color 0.3s ease;
}
.ensemble-tab + .ensemble-tab { border-left: 1px solid var(--hair); }
.ensemble-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.ensemble-tab.is-active::after { transform: scaleX(1); }
.ensemble-tab:hover, .ensemble-tab.is-active { color: var(--ink); }
.e-num { font-family: var(--serif); font-size: 1.9rem; line-height: 1; font-weight: 300; }
.e-name { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; }

.ensemble-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 1.8rem; align-items: start;
}
.ensemble-card.is-switching .ensemble-fig img,
.ensemble-card.is-switching .ensemble-copy { opacity: 0; transform: translateY(8px); }
.ensemble-fig { border-radius: 4px; overflow: hidden; background: var(--paper-3); }
.ensemble-fig img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.ensemble-fig figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600;
  color: var(--ink-3); background: var(--white); border-top: 1px solid var(--hair);
}
.ensemble-copy { transition: opacity 0.4s ease, transform 0.5s var(--ease); }
.ensemble-copy h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 2.2vw, 2.2rem); line-height: 1.1; margin-bottom: 0.7rem; }
.ensemble-copy > p { font-size: 0.92rem; color: var(--ink-2); line-height: 1.65; margin-bottom: 1.25rem; }
.specs { display: grid; gap: 0.8rem; padding: 1rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin-bottom: 1.4rem; }
.specs dt { font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); margin-bottom: 0.15rem; }
.specs dd { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--ink); }

/* --------------------------------------------------------------------------
   05 · REPERTOIRE & LETTERS
   -------------------------------------------------------------------------- */
.repertoire { padding-top: clamp(5rem, 10vh, 8rem); }

.folio-filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.chip {
  padding: 0.5rem 1rem; border-radius: 999px;
  border: 1px solid var(--hair-2); font-size: 0.78rem; font-weight: 500; color: var(--ink-2);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.folio-list { border-top: 1px solid var(--hair-2); }
.folio-row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--hair);
  transition: padding-left 0.4s var(--ease);
}
.folio-row:hover { padding-left: 0.75rem; }
.folio-title { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.folio-artist { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-3); margin-left: 0.5rem; }
.folio-add {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--hair-2);
  display: grid; place-items: center;
  font-size: 1rem; line-height: 1; color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease);
}
.folio-add:hover { border-color: var(--ink); transform: rotate(90deg); }
.folio-add.is-on { background: var(--teal); border-color: var(--teal); color: #fff; transform: rotate(0); }
.folio-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; font-size: 0.86rem; color: var(--ink-2); }

.deck { position: relative; min-height: 360px; perspective: 1200px; margin-top: 0.5rem; }
.letter {
  position: absolute; inset: 0;
  padding: 2.2rem;
  border-radius: 6px;
  background: var(--white);
  border: 1px solid var(--hair);
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform 0.7s var(--ease), opacity 0.6s ease, background 0.6s ease;
  cursor: pointer;
}
.letter.is-front  { z-index: 4; transform: translate3d(0, 0, 0) rotate(-0.6deg); opacity: 1; }
.letter.is-middle { z-index: 3; transform: translate3d(12px, 14px, -40px) rotate(1.8deg) scale(0.97); opacity: 0.9; background: var(--paper); }
.letter.is-back   { z-index: 2; transform: translate3d(-10px, 26px, -80px) rotate(-2.4deg) scale(0.94); opacity: 0.7; background: var(--paper-2); }
.letter.is-hidden { z-index: 1; transform: translate3d(0, 36px, -120px) scale(0.9); opacity: 0; pointer-events: none; }
.letter-stars { color: var(--amber); letter-spacing: 0.16em; font-size: 0.8rem; }
.letter blockquote { font-family: var(--serif); font-size: clamp(1.2rem, 1.5vw, 1.45rem); line-height: 1.4; color: var(--ink); margin: 1.2rem 0; }
.letter footer { display: flex; flex-direction: column; gap: 0.1rem; padding-top: 1rem; border-top: 1px solid var(--hair); }
.letter footer strong { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.letter footer span { font-size: 0.76rem; color: var(--ink-3); }
.deck-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; }
.deck-count { font-size: 0.74rem; letter-spacing: 0.14em; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   FINALE · INQUIRE
   -------------------------------------------------------------------------- */
.inquire {
  background: linear-gradient(180deg, transparent, var(--paper-2) 40%);
  padding-bottom: clamp(5rem, 10vh, 8rem);
}
.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field span { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-3); }
.field input, .field select, .field textarea {
  padding: 0.85rem 0;
  border: 0; border-bottom: 1px solid var(--hair-2);
  background: transparent; font-size: 1rem; border-radius: 0;
  transition: border-color 0.3s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 0.75rem; }
.form-status { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--teal-deep); }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
/* The closing frame: a blurred venue behind a frosted card. The only dark moment on the site. */
.site-footer {
  position: relative; z-index: 25;
  isolation: isolate;
  padding: clamp(3rem, 6vw, 5rem) var(--gutter) 0;
  overflow: hidden;
  color: #f4ede3;
  background: #0d0b09;
}
.footer-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.footer-bg img {
  position: absolute; inset: -6%; width: 112%; height: 112%;
  object-fit: cover;
  filter: blur(22px) saturate(1.15) brightness(0.7);
  transform: scale(1.04);
}
.footer-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--paper-2) 0%, rgba(13, 11, 9, 0.35) 18%, rgba(13, 11, 9, 0.55) 100%);
}

.footer-card {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  border-radius: 28px 28px 0 0;
  padding: clamp(2rem, 4.5vw, 4rem) clamp(1.5rem, 4.5vw, 4rem) 0;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(14, 12, 10, 0.72), rgba(14, 12, 10, 0.5));
  border: 1px solid rgba(244, 237, 227, 0.12);
  border-bottom: 0;
  box-shadow: inset 0 1px 0 rgba(255, 245, 230, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(244, 237, 227, 0.14);
}
.footer-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  border: 1px solid rgba(244, 237, 227, 0.18);
  color: #e9dfd0; font-size: 0.64rem; margin-bottom: 1.4rem;
}
.footer-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(19, 140, 144, 0.22); }
.footer-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem);
  line-height: 0.96; letter-spacing: -0.03em;
  color: #fbf6ee;
}
.footer-title em { font-style: italic; color: #e8c79a; }
.footer-lede { margin-top: 1.2rem; max-width: 42ch; color: #d9cdbc; font-size: 0.95rem; line-height: 1.65; }

.footer-act { display: grid; gap: 0.85rem; justify-items: start; }
.footer-act-label { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: #cdbfab; }
.footer-act-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn--paper { background: #f6f2eb; color: var(--ink); }
.btn--paper:hover { background: #fff; transform: translateY(-1px); }
.btn--line { border: 1px solid rgba(244, 237, 227, 0.3); color: #f4ede3; }
.btn--line:hover { border-color: #f4ede3; }
.footer-note { font-size: 0.8rem; color: #b8aa96; }
.footer-note a { color: #e9dfd0; border-bottom: 1px solid rgba(233, 223, 208, 0.35); }
.footer-note a:hover { color: #fff; border-color: #fff; }

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding-block: 2.75rem;
  border-bottom: 1px solid rgba(244, 237, 227, 0.14);
}
.footer-brand img { height: 42px; width: auto; }
.footer-brand p { margin-top: 1.1rem; max-width: 30ch; color: #b8aa96; font-size: 0.86rem; line-height: 1.65; }
.footer-col h3 { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: #a89a86; margin-bottom: 0.9rem; }
.footer-col ul { display: grid; gap: 0.55rem; font-size: 0.9rem; }
.footer-col a { color: #ece3d6; transition: color 0.25s ease; }
.footer-col a:hover { color: #fff; }

.footer-legal {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.4rem;
  font-size: 0.78rem; color: #a89a86;
}
.footer-tag { font-family: var(--serif); font-style: italic; font-size: 0.95rem; color: #cdbfab; }
.footer-legal a:hover { color: #fff; }

.footer-wordmark {
  display: block;
  margin-top: clamp(0.5rem, 1.5vw, 1.5rem);
  margin-bottom: -0.22em;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-size: clamp(4.5rem, 17vw, 16rem);
  line-height: 0.9; letter-spacing: -0.05em;
  text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #f4f1ec 10%, rgba(232, 199, 154, 0.9) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  user-select: none;
}

/* --------------------------------------------------------------------------
   SCREENING ROOM
   -------------------------------------------------------------------------- */
.cinema {
  margin: auto; width: min(1040px, 94vw);
  border: 0; border-radius: 8px; padding: 0;
  background: var(--white); color: var(--ink);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.5);
}
.cinema::backdrop { background: rgba(246, 242, 235, 0.86); backdrop-filter: blur(14px); }
.cinema-bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; border-bottom: 1px solid var(--hair); }
.cinema-bar span { font-family: var(--serif); font-size: 1.2rem; }
.cinema-close { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); }
.cinema-close:hover { color: var(--ink); }
.cinema-frame { aspect-ratio: 16 / 9; background: #000; }
.cinema-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1120px) {
  .main-nav { display: none; }
  .split--right .split-copy { grid-column: 6 / 13; }
  .split--left  .split-copy { grid-column: 1 / 8; }
}

@media (max-width: 960px) {
  /* Below this width the violin only performs in the hero; sections stack. */
  .violin-stage { z-index: 1; }
  .hero { padding-top: 7rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage-space { min-height: 52vh; }
  .hero-copy { position: relative; z-index: 2; }

  .split { min-height: 0; display: block; }
  .two-col, .ensemble-card, .movement-inner { grid-template-columns: 1fr; }
  .films-head { flex-direction: column; align-items: flex-start; }
  .ensemble-tabs { grid-template-columns: repeat(2, 1fr); }
  .ensemble-tab:nth-child(3) { border-left: 0; }
  .ensemble-tab:nth-child(n + 3) { border-top: 1px solid var(--hair); }
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-card { border-radius: 20px 20px 0 0; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .form-row { grid-template-columns: 1fr; }
  .movement-head { grid-template-columns: 2rem 1fr 1.5rem; }
  .movement-time { display: none; }
  .pairings { grid-template-columns: 1fr; }
  .hero-foot { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .frame-media { aspect-ratio: 4 / 5; width: calc(100% - var(--gutter) * 2); }
  .deck { min-height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .ribbon-track, .scroll-cue-line::after, .play-bars span { animation: none !important; }
  * { transition-duration: 0.01ms !important; }
}
