/* ============================================================
   THE LIVING SCORE — San Diego Concert Band
   Near-black · Antique gold · Animated staff panels
   Inspired by the visual language of the printed musical score
   ============================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  --bg:          #080808;
  --surface:     #0e0e0e;
  --surface2:    #131313;
  --gold:        #c9a84c;
  --gold-dim:    rgba(201,168,76,0.14);
  --gold-line:   rgba(201,168,76,0.22);
  --cream:       #f0ece0;
  --cream-dim:   rgba(240,236,224,0.58);
  --panel-w:     160px;
  --nav-h:       68px;
  --r:           3px;
  --tr:          0.28s ease;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Lato', sans-serif;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ── BACKGROUND CANVAS ───────────────────────────────────────── */
#bg-canvas {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: 0; pointer-events: none;
}

/* ── NAVBAR ──────────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--tr), border-color var(--tr);
}
.navbar.scrolled {
  background: rgba(8,8,8,0.97);
  border-color: var(--gold-line);
  backdrop-filter: none;
}
.nav-inner {
  height: var(--nav-h); padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 0.55rem;
  color: var(--cream); transition: color var(--tr);
}
.nav-brand:hover { color: var(--gold); }
.nav-clef {
  font-size: 1.9rem; color: var(--gold);
  line-height: 1; font-family: serif;
}
.nav-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem; letter-spacing: 0.09em;
}
.nav-links { display: flex; align-items: center; gap: 0.15rem; }
.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1rem; letter-spacing: 0.03em;
  color: var(--cream-dim); padding: 0.35rem 0.7rem;
  position: relative; transition: color var(--tr);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 0; left: 0.7rem; right: 0.7rem;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s ease;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--cream); transition: var(--tr);
}

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,8,0.99);
  flex-direction: column; align-items: center; justify-content: center;
}
.mobile-menu.open { display: flex; }
.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  background: none; border: none; color: var(--cream);
  font-size: 2.5rem; cursor: pointer; line-height: 1;
}
.mobile-menu li { margin: 1rem 0; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 7vw, 3.5rem);
  letter-spacing: 0.08em; color: var(--cream); transition: color var(--tr);
}
.mobile-menu a:hover { color: var(--gold); }

/* ── 3-COLUMN LAYOUT ─────────────────────────────────────────── */
.score-layout {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: var(--panel-w) 1fr var(--panel-w);
  align-items: start;
}

/* ── STAFF PANELS ────────────────────────────────────────────── */
.staff-panel {
  position: sticky; top: 0;
  height: 100vh; overflow: hidden;
  align-self: start; pointer-events: none;
}
.staff-panel canvas { display: block; width: 100%; height: 100%; }

/* ── SCORE MAIN ──────────────────────────────────────────────── */
.score-main {
  padding-top: var(--nav-h);
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

/* ── SECTION SHARED ──────────────────────────────────────────── */
.score-section {
  position: relative;
  padding: 5.5rem 4rem;
  border-top: 1px solid var(--gold-line);
}
.hero-section { border-top: none; }

/* Rehearsal mark */
.rehearsal-mark {
  position: absolute; top: -1px; left: 4rem;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--bg); background: var(--gold);
  padding: 0.15rem 0.5rem; line-height: 1.5;
  transform: translateY(-50%);
  user-select: none;
}

/* Section label */
.score-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-size: 1.15rem; font-weight: 600;
  color: #e0b84a; letter-spacing: 0.04em;
  display: block; margin-bottom: 0.55rem;
}

/* Section heading */
.score-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--cream); letter-spacing: 0.04em;
  line-height: 1; margin-bottom: 3rem;
}

/* ── HERO ────────────────────────────────────────────────────── */
.hero-section {
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 2rem;
  position: relative; overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
  filter: brightness(0.38) contrast(1.12) saturate(0.72);
  animation: kenBurns 22s ease-in-out infinite alternate;
  transform-origin: center center;
  will-change: transform;
}
@keyframes kenBurns {
  0%   { transform: scale(1.00) translate(0%, 0%); }
  100% { transform: scale(1.10) translate(-1.5%, -1%); }
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right,  rgba(8,8,8,0.82) 0%, rgba(8,8,8,0.35) 55%, rgba(8,8,8,0.55) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.25) 0%, rgba(8,8,8,0.60) 100%);
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 660px;
  margin: 0 auto 3rem;
  text-align: center;
  padding: 0 2rem;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.8rem, 8.5vw, 7.5rem);
  line-height: 0.90; letter-spacing: 0.02em; color: var(--cream);
  margin-bottom: 1.2rem;
  text-shadow: 0 4px 32px rgba(0,0,0,0.7);
}
.hero-line { display: block; }
.hero-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 300;
  color: rgba(240,236,224,0.72); letter-spacing: 0.08em; margin-bottom: 2.2rem;
}
.hero-ctas {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll-cue { position: relative; z-index: 1; }

.photo-frame { position: relative; }
.photo-frame img {
  width: 100%; border-radius: var(--r);
  box-shadow: 0 24px 70px rgba(0,0,0,0.85);
  outline: 1px solid var(--gold-line);
  outline-offset: 7px;
}

.hero-scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.78rem; letter-spacing: 0.2em;
  color: var(--cream-dim); opacity: 0.5;
  animation: cue-bounce 2.6s ease-in-out infinite;
}
.scroll-stem {
  width: 1px; height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes cue-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(9px); }
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: 0.14em;
  background: var(--gold); color: var(--bg);
  padding: 0.72rem 2.2rem; border-radius: var(--r);
  border: none; cursor: pointer;
  transition: background var(--tr), transform 0.18s, box-shadow var(--tr);
  box-shadow: 0 4px 24px rgba(201,168,76,0.28);
}
.btn-primary:hover {
  background: #d9ba62;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
}
.btn-large { font-size: 1.15rem; padding: 0.88rem 3rem; }

.btn-ghost {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; font-weight: 400; letter-spacing: 0.05em;
  border: 1px solid var(--gold-line); color: var(--cream-dim);
  padding: 0.65rem 1.8rem; border-radius: var(--r);
  transition: border-color var(--tr), color var(--tr), background var(--tr);
}
.btn-ghost:hover {
  border-color: var(--gold); color: var(--cream);
  background: rgba(201,168,76,0.07);
}

/* ── CONCERT CARDS ───────────────────────────────────────────── */
.concert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.1rem;
}
.concert-card {
  display: flex; gap: 1.2rem;
  border: 1px solid var(--gold-line);
  border-left: 3px solid var(--gold);
  border-radius: var(--r);
  padding: 1.5rem;
  background: rgba(201,168,76,0.022);
  position: relative; overflow: hidden;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
}
.concert-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
}
.concert-card:hover {
  background: rgba(201,168,76,0.05);
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0,0,0,0.6);
}
.concert-date {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; min-width: 44px; padding-top: 0.05rem;
}
.cdate-day {
  font-family: 'Bebas Neue', sans-serif; font-size: 2rem;
  color: var(--gold); line-height: 1; letter-spacing: 0.02em;
}
.cdate-month {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.72rem; color: var(--cream-dim); letter-spacing: 0.1em;
  text-transform: uppercase;
}
.concert-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem;
  letter-spacing: 0.04em; color: var(--cream);
  margin-bottom: 0.3rem; line-height: 1.1;
}
.concert-venue {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.92rem; color: var(--gold); margin-bottom: 0.15rem;
}
.concert-time {
  font-family: 'Lato', sans-serif; font-size: 0.7rem;
  letter-spacing: 0.09em; color: var(--cream-dim); margin-bottom: 0.7rem;
}
.concert-desc {
  font-family: 'Lato', sans-serif; font-size: 0.85rem;
  color: var(--cream-dim); line-height: 1.68;
}

/* ── ABOUT ───────────────────────────────────────────────────── */
.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: start; margin-bottom: 3rem;
}
.about-body {
  font-family: 'Lato', sans-serif; font-size: 1rem;
  line-height: 1.88; color: var(--cream-dim); margin-bottom: 1.3rem;
}
.stat-row {
  display: flex; gap: 2.5rem; flex-wrap: wrap;
  margin-top: 2.2rem; padding-top: 2rem;
  border-top: 1px solid var(--gold-line);
}
.stat-block { display: flex; flex-direction: column; gap: 0.25rem; }
.stat-num-wrap {
  display: flex; align-items: baseline; gap: 0.1rem;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  color: var(--gold); line-height: 1; letter-spacing: 0.02em;
}
.stat-plus, .stat-tilde {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--gold); line-height: 1;
}
.stat-lbl {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.88rem; color: var(--cream-dim);
}

.mosaic-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto; gap: 0.55rem;
}
.mosaic-cell {
  position: relative; overflow: hidden; border-radius: var(--r);
}
.mosaic-tall { grid-row: span 2; }
.mosaic-cell img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
  filter: grayscale(0.25) brightness(0.88);
}
.mosaic-cell:hover img {
  transform: scale(1.05);
  filter: grayscale(0) brightness(1);
}
.mosaic-lbl {
  position: absolute; bottom: 0; left: 0; right: 0;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.78rem; letter-spacing: 0.08em; color: var(--cream);
  padding: 0.4rem 0.6rem;
  background: linear-gradient(to top, rgba(8,8,8,0.88), transparent);
}

.pull-quote {
  border-left: 2px solid var(--gold);
  padding: 1.6rem 2.5rem;
  background: rgba(201,168,76,0.035);
  border-radius: 0 var(--r) var(--r) 0;
}
.pull-quote blockquote {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem); font-weight: 300;
  color: var(--cream); line-height: 1.48; margin-bottom: 0.75rem;
}
.pull-quote figcaption {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.88rem; color: var(--gold);
}

/* ── GENRE LIST ──────────────────────────────────────────────── */
.genre-list { display: flex; flex-direction: column; }
.genre-entry {
  display: flex; align-items: flex-start; gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--gold-line);
}
.genre-entry:first-child { border-top: 1px solid var(--gold-line); }
.genre-glyph {
  font-size: 3rem; color: var(--gold); opacity: 0.75;
  min-width: 52px; text-align: center; font-family: serif;
  line-height: 1; padding-top: 0.15rem;
}
.genre-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem;
  letter-spacing: 0.04em; color: var(--cream); margin-bottom: 0.25rem;
}
.genre-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.98rem; color: var(--gold); margin-bottom: 0.6rem;
}
.genre-desc {
  font-family: 'Lato', sans-serif; font-size: 0.94rem;
  color: var(--cream-dim); line-height: 1.72;
}

/* ── CONDUCTOR ───────────────────────────────────────────────── */
.conductor-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem; align-items: center;
}
.conductor-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream); letter-spacing: 0.04em; margin-bottom: 0.7rem;
}
.gold-rule {
  width: 50px; height: 1px; background: var(--gold); margin-bottom: 1rem;
}
.conductor-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; color: var(--cream-dim); margin-bottom: 1.4rem;
}
.conductor-bio {
  font-family: 'Lato', sans-serif; font-size: 0.96rem;
  line-height: 1.85; color: var(--cream-dim);
}

/* ── JOIN ────────────────────────────────────────────────────── */
.join-section {
  position: relative; overflow: hidden;
  text-align: left; min-height: 65vh;
  display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start;
}
.join-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
  filter: brightness(0.28) grayscale(0.35);
}
.join-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(8,8,8,0.15) 0%, rgba(8,8,8,0.72) 100%);
}
.join-content {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto;
}
.join-heading { font-size: clamp(3rem, 7vw, 5.5rem); }
.join-body {
  font-family: 'Lato', sans-serif; font-size: 1.05rem;
  line-height: 1.8; color: rgba(240,236,224,0.78); margin-bottom: 2.2rem;
}
.rehearsal-info {
  display: flex; align-items: center; gap: 1.8rem;
  justify-content: flex-start; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.reh-item { display: flex; flex-direction: column; gap: 0.2rem; }
.reh-lbl {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.78rem; color: var(--gold); letter-spacing: 0.12em;
}
.reh-val {
  font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--cream);
}
.reh-divider {
  font-size: 1.5rem; color: var(--gold); opacity: 0.4;
}

/* ── SUPPORT ─────────────────────────────────────────────────── */
.support-grid {
  display: grid;
   grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem; margin-bottom: 2.5rem;
}
.support-card {
  border: 1px solid var(--gold-line);
  border-top: 2px solid var(--gold);
  border-radius: var(--r); padding: 1.8rem 1.6rem;
  background: rgba(201,168,76,0.022);
  transition: background var(--tr), transform var(--tr);
}
.support-card:hover {
  background: rgba(201,168,76,0.055);
  transform: translateY(-3px);
}
.support-dyn {
  display: block;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.6rem; font-weight: 600; color: var(--gold);
  margin-bottom: 0.65rem; letter-spacing: -0.01em;
}
.support-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.45rem;
  letter-spacing: 0.04em; color: var(--cream); margin-bottom: 0.7rem;
}
.support-desc {
  font-family: 'Lato', sans-serif; font-size: 0.88rem;
  color: var(--cream-dim); line-height: 1.72;
}
.mailing-address {
  text-align: center;
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.95rem; color: var(--cream-dim);
}

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  position: relative; z-index: 1;
  background: #040404;
  border-top: 1px solid var(--gold-line);
}
.footer-bar {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 2.2rem 3.5rem; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-clef {
  font-size: 2.2rem; color: var(--gold); font-family: serif; line-height: 1;
}
.footer-name {
  display: block; font-family: 'Bebas Neue', sans-serif;
  font-size: 1.05rem; letter-spacing: 0.07em; color: var(--cream);
}
.footer-tagline {
  display: block; font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.8rem; color: var(--cream-dim); margin-top: 0.1rem;
}
.footer-nav {
  display: flex; gap: 0.5rem 1.2rem; flex-wrap: wrap; align-items: center;
}
.footer-nav a {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.92rem; color: var(--cream-dim); transition: color 0.2s;
}
.footer-nav a:hover { color: var(--gold); }
.footer-contact {
  display: flex; flex-direction: column; gap: 0.55rem; align-items: flex-end;
}
.footer-email {
  font-family: 'Lato', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.07em; color: var(--cream-dim);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.footer-email:hover { color: var(--gold); border-color: var(--gold); }
.footer-icons { display: flex; gap: 1rem; }
.footer-icon { color: var(--gold); opacity: 0.65; transition: opacity 0.2s; }
.footer-icon:hover { opacity: 1; }
.footer-copy {
  text-align: center; padding: 0.8rem 2rem 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.78rem; color: var(--cream-dim); letter-spacing: 0.05em;
}

/* ── SCROLL ANIMATIONS ───────────────────────────────────────── */
.anim-up {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition-delay: calc(var(--i, 0) * 110ms);
}
.anim-up.in { opacity: 1; transform: translateY(0); }
.anim-left {
  opacity: 0; transform: translateX(-38px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-left.in { opacity: 1; transform: translateX(0); }
.anim-right {
  opacity: 0; transform: translateX(38px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.anim-right.in { opacity: 1; transform: translateX(0); }
.reveal-up {
  opacity: 0; transform: translateY(-28px);
  animation: revealUp 0.65s ease-out forwards;
}
.reveal-fade {
  opacity: 0;
  animation: revealFade 0.7s ease-out forwards;
}
@keyframes revealUp  { to { opacity: 1; transform: translateY(0); } }
@keyframes revealFade{ to { opacity: 1; } }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --panel-w: 110px; }
}
@media (max-width: 900px) {
  .score-layout { grid-template-columns: 1fr; }
  .staff-panel { display: none; }
  .hero-inner  { max-width: 100%; }
  .about-layout { grid-template-columns: 1fr; }
  .about-mosaic { display: none; }
  .conductor-layout { grid-template-columns: 1fr; gap: 2rem; }
  .conductor-photo-col { display: none; }
}
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links  { display: none; }
  .score-section { padding: 3.5rem 1.6rem; }
  .rehearsal-mark { left: 1.6rem; }
  .concert-grid { grid-template-columns: 1fr; }
  .genre-entry  { flex-direction: column; gap: 1rem; }
  .support-grid { grid-template-columns: 1fr; }
  .rehearsal-info { flex-direction: column; gap: 1.2rem; }
  .reh-divider  { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.6rem; }
  .footer-contact { align-items: flex-start; }
}

/* ══════════════════════════════════════════════════════════════
   ORCHESTRA SECTION
   ══════════════════════════════════════════════════════════════ */
.orch-modal {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.orch-modal.visible { opacity: 1; pointer-events: all; }
.orch-modal-box {
  background: #0e0e0e;
  border: 1px solid var(--gold-line);
  border-top: 2px solid var(--gold);
  border-radius: var(--r);
  padding: 3rem 3.5rem;
  max-width: 480px; width: 90%;
  text-align: center;
  box-shadow: 0 40px 120px rgba(0,0,0,0.9);
  transform: translateY(18px);
  transition: transform 0.4s ease;
}
.orch-modal.visible .orch-modal-box { transform: translateY(0); }
.orch-modal-clef {
  display: block; font-size: 3.5rem; color: var(--gold);
  font-family: serif; line-height: 1; margin-bottom: 1.2rem;
}
.orch-modal-title {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.6rem; font-weight: 300; color: var(--cream);
  margin-bottom: 0.9rem;
}
.orch-modal-body {
  font-family: 'Lato', sans-serif; font-size: 0.9rem;
  color: var(--cream-dim); line-height: 1.75; margin-bottom: 2rem;
}
.orch-modal-actions {
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
}
.orch-modal-actions .btn-primary,
.orch-modal-actions .btn-ghost { width: 100%; text-align: center; }
.orch-mute-btn {
  position: sticky; top: calc(var(--nav-h) + 1rem);
  float: right; z-index: 50;
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(14,14,14,0.92);
  border: 1px solid var(--gold-line);
  border-radius: 2rem;
  color: var(--cream-dim); cursor: pointer;
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  font-family: 'Lato', sans-serif; font-size: 0.75rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
  margin-bottom: 1rem;
}
.orch-mute-btn:hover { color: var(--cream); border-color: var(--gold); }
.orch-mute-btn[aria-pressed="true"] { color: var(--gold); border-color: var(--gold); }
.orch-mute-btn .orch-mute-off { display: none; }
.orch-mute-btn[aria-pressed="true"] .orch-mute-on  { display: none; }
.orch-mute-btn[aria-pressed="true"] .orch-mute-off { display: block; }
.orch-mute-btn[aria-pressed="true"] .orch-mute-lbl::before { content: 'Un'; }
.orchestra-section { padding-bottom: 0; }
.orch-panel {
  position: relative; min-height: 88vh;
  display: flex; align-items: center;
  margin: 0 -4rem; overflow: hidden;
  border-top: 1px solid var(--gold-line);
}
.orch-panel:first-of-type { border-top: none; }
.orch-panel-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%,
    color-mix(in srgb, var(--orch-accent) 7%, transparent) 0%,
    transparent 65%);
  pointer-events: none;
}
.orch-panel-content {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center;
  padding: 5rem 4rem; width: 100%;
}
.orch-family-label {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 0.95rem; color: var(--gold); letter-spacing: 0.18em;
  margin-bottom: 0.4rem; display: block;
}
.orch-family-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--cream); letter-spacing: 0.03em; line-height: 0.9;
  margin-bottom: 0.6rem;
}
.orch-family-sub {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 1.05rem; font-weight: 300; color: var(--gold);
  margin-bottom: 1.2rem; display: block;
}
.orch-family-desc {
  font-family: 'Lato', sans-serif; font-size: 0.95rem;
  color: var(--cream-dim); line-height: 1.82; max-width: 400px;
}
.orch-staff-col {
  display: flex; align-items: center; justify-content: center;
}
.orch-staff-svg {
  width: 100%; max-width: 560px; height: auto; overflow: visible;
}
.orch-panel--union { min-height: 100vh; border-bottom: 1px solid var(--gold-line); margin-bottom: 0; }
.orch-union-name {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  background: linear-gradient(135deg, var(--cream) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.orch-union-canvas-col { display: flex; align-items: center; justify-content: center; }
.union-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.union-flash {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, #c9a84c 0%, rgba(201,168,76,0) 70%);
  opacity: 0; pointer-events: none; z-index: 10; transition: opacity 0.25s ease-out;
}
.union-text { text-align: center; padding: 2rem; opacity: 0; transition: opacity 2.5s ease-out; pointer-events: none; }
.union-text.union-text-visible { opacity: 1; }
.union-text-main {
  font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 300;
  font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: 0.04em; line-height: 1;
  background: linear-gradient(90deg, var(--cream) 0%, var(--gold) 30%, #ffe8a0 50%, var(--gold) 70%, var(--cream) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 5s linear infinite; margin-bottom: 0.8rem;
}
@keyframes shimmer { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }
.union-text-sub {
  font-family: 'Lato', sans-serif; font-size: 0.9rem;
  color: var(--cream-dim); letter-spacing: 0.14em; text-transform: uppercase;
}
.orch-panel .orch-text-col,
.orch-panel .orch-staff-col { opacity: 0; transition: opacity 1.1s ease-out, transform 1.1s ease-out; }
.orch-panel .orch-text-col { transform: translateX(-30px); }
.orch-panel .orch-staff-col { transform: translateX(30px); transition-delay: 0.18s; }
.orch-panel.orch-active .orch-text-col,
.orch-panel.orch-active .orch-staff-col { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
  .orch-panel { margin: 0 -1.6rem; min-height: auto; }
  .orch-panel-content { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.6rem; }
  .orch-staff-col { display: none; }
  .orch-union-canvas-col { display: flex; }
  .orch-mute-btn { float: none; position: relative; top: 0; display: inline-flex; }
}
@media (max-width: 768px) {
  .orch-modal-box { padding: 2rem 1.6rem; }
  .union-text-main { font-size: 2.2rem; }
}