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

  :root {
    --gold: #C9A84C;
    --gold-light: #E8D095;
    --deep: #000000;
    --deep2: #0A0A0A;
    --deep3: #141414;
    --text: #FFFFFF;
    --muted: #B0ABA8;
    --white: #FFFFFF;
    --card-bg: rgba(255,255,255,0.04);
    --card-border: rgba(201,168,76,0.25);
    --past-day: rgba(176,171,168,0.35);
    color-scheme: dark;
  }

  [data-theme="light"] {
    --gold: #8A6E1F;
    --gold-light: #B58A2B;
    --deep: #FAF6EC;
    --deep2: #F2EBD8;
    --deep3: #E8DEC4;
    --text: #1A1410;
    --muted: #5C544D;
    --white: #1A1410;
    --card-bg: rgba(0,0,0,0.04);
    --card-border: rgba(138,110,31,0.3);
    --past-day: rgba(92,84,77,0.4);
    color-scheme: light;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Lato', sans-serif;
    background: var(--deep);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
  }

  /* ── NAV ── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 9.5rem 1rem 2.5rem;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
  }
  .nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem; color: var(--gold);
    letter-spacing: 0.05em; text-decoration: none;
  }
  .nav-links { display: flex; gap: 3.5rem; list-style: none; }
  .nav-links a {
    text-decoration: none; color: var(--muted); font-size: 0.8rem;
    letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--gold); }

  /* ── THEME TOGGLE (floating button, top-right) ── */
  .theme-toggle {
    position: fixed;
    top: 0.5rem;
    right: 1.5rem;
    z-index: 150;
    background: rgba(201,168,76,0.18);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    height: 34px;
    padding: 0 0.9rem;
    border-radius: 999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    white-space: nowrap;
    backdrop-filter: blur(8px);
  }
  .theme-toggle:hover {
    background: var(--gold);
    color: #000;
    transform: translateY(-1px);
  }
  [data-theme="light"] .theme-toggle {
    background: rgba(138,110,31,0.10);
  }
  [data-theme="light"] .theme-toggle:hover {
    background: var(--gold);
    color: #FAF6EC;
  }
  .theme-toggle svg { width: 16px; height: 16px; display: block; }
  .theme-toggle .icon-sun,
  .theme-toggle .label-light { display: none; }
  .theme-toggle .icon-moon,
  .theme-toggle .label-dark { display: inline-block; }
  [data-theme="light"] .theme-toggle .icon-sun,
  [data-theme="light"] .theme-toggle .label-light { display: inline-block; }
  [data-theme="light"] .theme-toggle .icon-moon,
  [data-theme="light"] .theme-toggle .label-dark { display: none; }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    background:
      radial-gradient(ellipse 70% 50% at 50% 40%, rgba(201,168,76,0.08) 0%, transparent 70%),
      #000;
    padding: 8rem 2rem 4rem;
    position: relative; overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      radial-gradient(1px 1px at 20% 30%, rgba(201,168,76,0.5) 0%, transparent 100%),
      radial-gradient(1px 1px at 80% 15%, rgba(201,168,76,0.4) 0%, transparent 100%),
      radial-gradient(1px 1px at 60% 70%, rgba(201,168,76,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 10% 80%, rgba(201,168,76,0.25) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 60%, rgba(201,168,76,0.35) 0%, transparent 100%),
      radial-gradient(1px 1px at 45% 20%, rgba(201,168,76,0.3) 0%, transparent 100%),
      radial-gradient(1px 1px at 70% 85%, rgba(201,168,76,0.2) 0%, transparent 100%);
    pointer-events: none;
  }
  .hero-inner { position: relative; max-width: 760px; }
  .hero-eyebrow {
    font-size: 0.72rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 1.5rem;
  }
  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 7vw, 5rem);
    line-height: 1.1; font-weight: 700;
    color: var(--white); margin-bottom: 1.5rem;
  }
  .hero h1 em { color: var(--gold); font-style: italic; }
  .hero-sub {
    font-size: 1.05rem; color: var(--muted); max-width: 520px;
    margin: 0 auto 2.5rem; font-weight: 300;
  }
  .hero-divider {
    display: flex; align-items: center; gap: 1rem;
    justify-content: center; margin-bottom: 2.5rem;
  }
  .hero-divider span { width: 60px; height: 1px; background: var(--gold); opacity: 0.45; }
  .hero-divider svg { color: var(--gold); width: 20px; height: 20px; }
  .btn-gold {
    display: inline-block; padding: 0.85rem 2.2rem;
    background: var(--gold); color: #000;
    font-family: 'Lato', sans-serif; font-weight: 700;
    font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }
  .btn-outline {
    display: inline-block; padding: 0.85rem 2.2rem;
    border: 1px solid var(--gold); color: var(--gold);
    font-family: 'Lato', sans-serif; font-weight: 700;
    font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase;
    text-decoration: none; border-radius: 2px; margin-left: 1rem;
    transition: background 0.2s, transform 0.2s;
  }
  .btn-outline:hover { background: rgba(201,168,76,0.1); transform: translateY(-1px); }

  /* ── SECTIONS ── */
  section { padding: 6rem 2rem; }
  .container { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 0.75rem;
  }
  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700; color: var(--white); margin-bottom: 1rem;
  }
  .section-title em { font-style: italic; color: var(--gold); }
  .section-desc { color: var(--muted); max-width: 580px; font-size: 1rem; margin-bottom: 3rem; }
  .ruled { display: flex; align-items: center; gap: 1rem; margin-bottom: 3rem; }
  .ruled hr { flex: 1; border: none; border-top: 1px solid var(--card-border); }

  /* ── GALLERY ── */
  #gallery { background: var(--deep2); }
  .gallery-tabs {
    display: flex; gap: 0.5rem; margin-bottom: 2rem; flex-wrap: wrap;
  }
  .gallery-tab {
    padding: 0.5rem 1.1rem; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
    border: 1px solid var(--card-border); border-radius: 2px;
    background: transparent; color: var(--muted);
    transition: all 0.2s; font-family: 'Lato', sans-serif;
  }
  .gallery-tab:hover { color: var(--gold); border-color: var(--gold); }
  .gallery-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }
  .gallery-panel { display: none; }
  .gallery-panel.active { display: block; }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 10px;
  }
  .gallery-grid .wide { grid-column: span 2; }
  .gallery-grid .tall { grid-row: span 2; }
  .gallery-item {
    border-radius: 3px; overflow: hidden; position: relative; cursor: pointer;
    background: var(--deep3); border: 1px solid var(--card-border);
  }
  .gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease, filter 0.3s;
    filter: brightness(0.85);
  }
  .gallery-item:hover img { transform: scale(1.05); filter: brightness(1); }
  .gallery-item .caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 1.5rem 1rem 0.75rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.88));
    font-size: 0.78rem; color: var(--gold-light); letter-spacing: 0.05em;
    opacity: 0; transition: opacity 0.3s;
  }
  .gallery-item:hover .caption { opacity: 1; }
  .photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 0.85rem; color: var(--muted);
    letter-spacing: 0.05em; text-align: center; padding: 1rem;
  }
  .ph-1 { background: #0d0d0d; }
  .ph-2 { background: #111111; }
  .ph-3 { background: #0a0a0a; }
  .ph-4 { background: #0f0f0f; }
  .ph-5 { background: #121212; }
  .ph-note { font-size: 2.2rem; opacity: 0.25; display: block; margin-bottom: 0.25rem; }
  .gallery-hint {
    text-align: center; margin-top: 1.5rem;
    font-size: 0.78rem; color: var(--muted);
  }
  .gallery-hint code { color: var(--gold); }

  /* ── EVENTS ── */
  #events { background: var(--deep); }
  .events-list { display: flex; flex-direction: column; }
  .event-row {
    display: grid; grid-template-columns: 90px 1fr auto;
    align-items: center; gap: 2rem;
    padding: 1.4rem 1rem;
    border-top: 1px solid var(--card-border);
    border-radius: 3px;
    transition: background 0.2s;
  }
  .event-row:hover { background: var(--card-bg); }
  .event-date-box {
    text-align: center; padding: 0.5rem;
    border: 1px solid var(--card-border); border-radius: 3px;
    background: var(--card-bg);
  }
  .event-date-box .month {
    font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 700;
  }
  .event-date-box .day {
    font-family: 'Playfair Display', serif; font-size: 2rem;
    color: var(--white); line-height: 1;
  }
  .event-name {
    font-family: 'Playfair Display', serif; font-size: 1.1rem;
    color: var(--white); margin-bottom: 0.2rem;
  }
  .event-meta { font-size: 0.78rem; color: var(--muted); }
  .event-tag {
    font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
    font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 2px; white-space: nowrap;
  }
  .tag-concert { background: rgba(201,168,76,0.15); color: var(--gold); }
  .tag-audition { background: rgba(200,200,200,0.1); color: #ccc; border: 1px solid rgba(200,200,200,0.2); }
  .tag-rehearsal { background: rgba(255,255,255,0.05); color: var(--muted); border: 1px solid var(--card-border); }
  .tag-mpa { background: rgba(255,255,255,0.08); color: #ddd; border: 1px solid rgba(255,255,255,0.15); }

  /* ── CONDUCTOR ── */
  #conductor { background: var(--deep2); }
  .conductor-card {
    display: grid; grid-template-columns: 200px 1fr;
    gap: 3rem; align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 4px; padding: 2.5rem;
    max-width: 800px;
  }
  .conductor-portrait {
    aspect-ratio: 3/4;
    background: var(--deep3);
    border: 1px solid var(--card-border);
    border-radius: 3px;
    display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 0.5rem;
    color: var(--muted); font-size: 0.8rem; text-align: center; padding: 1rem;
  }
  .conductor-initial {
    font-family: 'Playfair Display', serif;
    font-size: 4rem; color: var(--gold); opacity: 0.6; font-style: italic; line-height: 1;
  }
  .conductor-eyebrow {
    font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 0.5rem;
  }
  .conductor-name {
    font-family: 'Playfair Display', serif; font-size: 2rem;
    color: var(--white); margin-bottom: 0.75rem;
  }
  .conductor-bio { color: var(--muted); font-size: 0.95rem; line-height: 1.8; }

  /* ── ORCHESTRAS / MEMBERS ── */
  #members { background: var(--deep); }
  .orch-tabs {
    display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap;
  }
  .orch-tab {
    padding: 0.6rem 1.4rem; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
    border: 1px solid var(--card-border); border-radius: 2px;
    background: transparent; color: var(--muted);
    transition: all 0.2s; font-family: 'Lato', sans-serif;
  }
  .orch-tab:hover { color: var(--gold); border-color: var(--gold); }
  .orch-tab.active { background: var(--gold); color: #000; border-color: var(--gold); }
  .orch-panel { display: none; }
  .orch-panel.active { display: block; }
  .orch-desc {
    font-size: 0.9rem; color: var(--muted); margin-bottom: 2rem;
    padding: 1rem 1.25rem;
    border-left: 2px solid var(--gold); background: var(--card-bg);
    border-radius: 0 3px 3px 0;
  }
  .chairs-section { margin-bottom: 2.5rem; }
  .chairs-label {
    font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 1rem;
  }
  .chairs-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.75rem;
  }
  .chair-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 3px; padding: 1rem 1.1rem;
    transition: border-color 0.2s;
  }
  .chair-card:hover { border-color: rgba(201,168,76,0.5); }
  .chair-pos {
    font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 0.3rem;
  }
  .chair-name { font-size: 0.92rem; color: var(--white); font-weight: 700; }
  .chair-part { font-size: 0.75rem; color: var(--muted); }

  /* ── OFFICERS ── */
  #officers { background: var(--deep2); }
  .officers-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
  .officer-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 3px; padding: 1.6rem;
    display: flex; align-items: flex-start; gap: 1.1rem;
    transition: border-color 0.2s;
  }
  .officer-card:hover { border-color: rgba(201,168,76,0.45); }
  .officer-avatar {
    width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%;
    background: rgba(201,168,76,0.08); border: 1px solid var(--card-border);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic;
    color: var(--gold);
  }
  .officer-title {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--gold); font-weight: 700; margin-bottom: 0.25rem;
  }
  .officer-name {
    font-family: 'Playfair Display', serif; font-size: 1.05rem; color: var(--white);
    margin-bottom: 0.15rem;
  }
  .officer-instrument { font-size: 0.78rem; color: var(--muted); }
  .officer-bio { font-size: 0.78rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.55; }

  /* Combined officer cards (two people sharing a role) */
  .officer-avatar-pair {
    display: flex; flex-shrink: 0; gap: 0;
  }
  .officer-avatar-pair .officer-avatar:nth-child(2) {
    margin-left: -14px;
  }
  .officer-people {
    display: flex; flex-direction: column; gap: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .officer-person .officer-name { margin-bottom: 0.1rem; }

  /* ── ABOUT ── */
  #about { background: var(--deep); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
  }
  .about-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem;
  }
  .stat-box { border-left: 2px solid var(--gold); padding-left: 1rem; }
  .stat-num {
    font-family: 'Playfair Display', serif; font-size: 2.2rem;
    color: var(--white); line-height: 1;
  }
  .stat-label {
    font-size: 0.72rem; color: var(--muted);
    text-transform: uppercase; letter-spacing: 0.1em;
  }
  .about-visual {
    position: relative; aspect-ratio: 4/3;
    background: var(--deep2); border: 1px solid var(--card-border); border-radius: 4px;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
  }
  .about-big-initial {
    font-family: 'Playfair Display', serif;
    font-size: 8rem; color: rgba(201,168,76,0.07);
    font-style: italic; line-height: 1;
  }
  .about-label {
    position: absolute; bottom: 1rem; right: 1rem;
    font-size: 0.68rem; letter-spacing: 0.15em; color: var(--gold); text-transform: uppercase;
  }

  /* ── FOOTER ── */
  footer {
    background: #000; border-top: 1px solid var(--card-border);
    padding: 3rem 2rem; text-align: center;
  }
  .footer-logo {
    font-family: 'Playfair Display', serif; font-size: 1.15rem;
    color: var(--gold); margin-bottom: 0.4rem;
  }
  .footer-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
  .footer-links { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
  .footer-links a {
    font-size: 0.72rem; color: var(--muted); text-decoration: none;
    letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--gold); }
  .footer-copy { margin-top: 2rem; font-size: 0.72rem; color: rgba(176,171,168,0.4); }

  /* ── LIGHT-MODE OVERRIDES (for rules using raw colors) ── */
  [data-theme="light"] nav { background: rgba(250,246,236,0.92); }
  [data-theme="light"] .hero {
    background:
      radial-gradient(ellipse 70% 50% at 50% 40%, rgba(138,110,31,0.10) 0%, transparent 70%),
      var(--deep);
  }
  [data-theme="light"] .hero::before {
    background-image:
      radial-gradient(1px 1px at 20% 30%, rgba(138,110,31,0.45) 0%, transparent 100%),
      radial-gradient(1px 1px at 80% 15%, rgba(138,110,31,0.35) 0%, transparent 100%),
      radial-gradient(1px 1px at 60% 70%, rgba(138,110,31,0.30) 0%, transparent 100%),
      radial-gradient(1px 1px at 10% 80%, rgba(138,110,31,0.25) 0%, transparent 100%),
      radial-gradient(1px 1px at 90% 60%, rgba(138,110,31,0.32) 0%, transparent 100%),
      radial-gradient(1px 1px at 45% 20%, rgba(138,110,31,0.28) 0%, transparent 100%),
      radial-gradient(1px 1px at 70% 85%, rgba(138,110,31,0.20) 0%, transparent 100%);
  }
  [data-theme="light"] .ph-1 { background: #EFE5CC; }
  [data-theme="light"] .ph-2 { background: #ECE2C7; }
  [data-theme="light"] .ph-3 { background: #F1E7D0; }
  [data-theme="light"] .ph-4 { background: #EEE3CA; }
  [data-theme="light"] .ph-5 { background: #EAE0C5; }
  [data-theme="light"] .gallery-item img { filter: none; }
  [data-theme="light"] .gallery-item:hover img { filter: brightness(1.05); }
  [data-theme="light"] .tag-audition {
    background: rgba(0,0,0,0.06); color: #5C544D;
    border: 1px solid rgba(0,0,0,0.15);
  }
  [data-theme="light"] .tag-mpa {
    background: rgba(0,0,0,0.05); color: #4A4239;
    border: 1px solid rgba(0,0,0,0.12);
  }
  [data-theme="light"] .tag-rehearsal {
    background: rgba(0,0,0,0.04); color: var(--muted);
    border: 1px solid var(--card-border);
  }
  [data-theme="light"] footer { background: var(--deep2); }
  [data-theme="light"] .footer-copy { color: rgba(92,84,77,0.55); }

  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {
    nav { padding: 1rem 1.25rem; }
    .nav-links { gap: 1rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-grid .wide { grid-column: span 2; }
    .about-grid { grid-template-columns: 1fr; }
    .about-visual { display: none; }
    .event-row { grid-template-columns: 70px 1fr; }
    .event-tag { display: none; }
    .conductor-card { grid-template-columns: 1fr; }
    .conductor-portrait { max-height: 200px; }
  }
  @media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid .wide { grid-column: span 1; }
  }