:root {
  --bg: #faf6ee;
  --bg2: #f2ead9;
  --card: #fffdf8;
  --pink: #f8efef;
  --ink: #2b2b2b;
  --muted: #6f6455;
  --line: #e4d7bd;
  --green-bar: #0d3b2e;
  --green-drop: #5c7f6f;
  --teal: #2e7d6b;
  --teal-dark: #14604c;
  --blue: #2f4cc9;
  --cream: #f6f1de;
  --grey-tab: #9aa0a0;
  --grey-tab-active: #6e7474;
  --red: #9d1b30;
  --red-deep: #771222;
  --gold: #c69a45;
  --gold-soft: #ead9ac;
  --dark: #1d1915;
  --serif: Georgia, "Times New Roman", "Songti SC", "STSong",
           "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans SC",
          "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); line-height: 1.7; font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); }
a:hover { color: var(--teal); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- header: dark green bar, cream logo, centered serif nav ---- */
.site-header {
  background: var(--green-bar); position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid #081f18;
}
.header-in {
  display: flex; align-items: center; gap: 24px;
  padding-top: 12px; padding-bottom: 12px; min-height: 92px;
}
.brand { display: inline-block; text-decoration: none; flex: 0 0 auto; }
.brand-logo {
  width: 62px; height: 62px; object-fit: contain;
}
.desk-nav {
  flex: 1 1 auto; display: flex; align-items: stretch; justify-content: center;
}
.desk-nav > a, .desk-nav .has-drop > a {
  font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--cream); text-decoration: none; font-size: 1.02rem;
  padding: 14px 44px; display: flex; align-items: center; white-space: nowrap;
}
.desk-nav > a + a, .desk-nav > a + .has-drop, .desk-nav > .has-drop + a { border-left: 1px solid rgba(246,241,222,0.55); }
.desk-nav > a:hover, .desk-nav .has-drop > a:hover { color: #fff; }
.has-drop { position: relative; display: flex; align-items: stretch; }
.has-drop .drop {
  display: none; position: absolute; top: 100%; left: 0; min-width: 100%;
  background: var(--green-drop); box-shadow: 0 10px 24px rgba(0,0,0,0.3); z-index: 60;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { display: block; }
.has-drop .drop a {
  display: block; padding: 12px 44px; color: var(--cream); text-decoration: none;
  font-family: var(--serif); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.95rem;
  white-space: nowrap;
}
.has-drop .drop a:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* hamburger: mobile only (the original bar has no menu button on desktop) */
.menu-btn {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 12px; cursor: pointer; margin-left: auto;
  background: transparent; border: 1px solid rgba(246,241,222,0.5); border-radius: 8px;
}
.menu-btn span { display: block; height: 2px; background: var(--cream); border-radius: 2px; }
.menu-btn:hover { border-color: var(--cream); }
.site-menu {
  position: fixed; inset: 0; z-index: 100; background: rgba(13, 59, 46, 0.98);
  display: flex; align-items: center; justify-content: center;
}
.site-menu[hidden] { display: none; }
.site-menu-links { display: flex; flex-direction: column; gap: 6px; text-align: center; }
.site-menu-links a {
  font-family: var(--serif); font-size: 1.8rem; color: var(--cream); text-decoration: none;
  padding: 10px 24px; text-transform: uppercase; letter-spacing: 0.1em;
}
.site-menu-links a:hover { color: #fff; }
.site-menu-links a.active { text-decoration: underline; }
.menu-close {
  position: absolute; top: 18px; right: 24px; font-size: 2.6rem; line-height: 1;
  background: transparent; border: none; color: var(--cream); cursor: pointer; padding: 8px;
}
.menu-close:hover { color: #fff; }

/* ---- page furniture ---- */
.page-pink { background: var(--pink); }
.card {
  background: #fff; border-radius: 4px; box-shadow: 0 2px 14px rgba(90, 40, 40, 0.06);
  padding: 40px 48px 56px; margin: 0 auto;
}
main h1, main h2, main h3 { font-family: var(--serif); font-weight: 600; line-height: 1.3; }
main h1 { font-size: 2rem; margin: 0 0 0.6em; color: var(--teal); }
main h2 { font-size: 1.5rem; margin: 1.6em 0 0.5em; color: var(--teal); }
main h3 { font-size: 1.15rem; margin: 1.4em 0 0.4em; }
.section { padding: 40px 24px 56px; }
.lede { font-size: 1.05rem; color: var(--ink); max-width: 46em; }
.credit { font-size: 0.85rem; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; }
.piece { margin: 0.9em 0; }
.piece .composer { color: var(--muted); }
.premiere { display: inline-block; background: var(--red); color: #fff; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; }
.photorow { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 10px 16px; }
.inline-photo { margin: 28px 0; }
.inline-photo img { border-radius: 6px; width: 100%; }

/* ---- homepage: blue Postcards section ---- */
.postcards { background: var(--blue); color: #fff; }
.postcards-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 48px; align-items: center; padding: 56px 24px 64px; max-width: 1080px; margin: 0 auto;
}
.poster-wrap { position: relative; }
.poster-wrap > a > img { border-radius: 18px; box-shadow: 0 16px 40px rgba(0,0,0,0.35); }
.culturepass {
  position: absolute; right: -14px; bottom: -14px; width: 34%; max-width: 190px; margin: 0;
}
.culturepass img { border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.35); }
.postcards-copy { text-align: center; color: #fff; }
.postcards-copy h1 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0 0 18px; }
.postcards-copy p { color: #f2f4ff; font-size: 1.06rem; max-width: 34em; margin: 0 auto 26px; font-family: var(--serif); }
.btn-programme {
  display: inline-block; background: #eef1ff; color: #2f6df0; font-weight: 700;
  padding: 14px 34px; border-radius: 999px; text-decoration: none; font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.btn-programme:hover { background: #fff; color: #2f6df0; }

/* ---- homepage: full-width orchestra band ---- */
.band { position: relative; overflow: hidden; background: var(--dark); }
.band img.band-photo { width: 100%; height: auto; display: block; }
.band-copy {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start; text-align: center;
  padding: 56px 24px 24px; color: var(--cream);
  background: linear-gradient(180deg, rgba(10,8,5,0.55) 0%, rgba(10,8,5,0) 45%);
}
.band-copy h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 3.2rem); margin: 0 0 10px; text-shadow: 0 2px 14px rgba(0,0,0,0.6); }
.band-copy p { color: #f3ead6; font-family: var(--serif); font-size: 1.12rem; max-width: 44em; margin: 0 0 24px; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.band-btns { display: flex; gap: 56px; flex-wrap: wrap; justify-content: center; }
.btn-band {
  display: inline-block; background: var(--teal-dark); color: #fff; font-family: var(--serif);
  font-size: 1.25rem; font-weight: 700; padding: 14px 40px; border-radius: 3px; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.btn-band:hover { background: #189a7c; color: #fff; }

/* ---- gallery year tabs ---- */
.gtabs { display: flex; flex-wrap: wrap; gap: 34px; margin: 8px 0 0; }
.gtabs a {
  font-family: var(--serif); font-size: 1.25rem; color: #fff; text-decoration: none;
  background: var(--grey-tab); padding: 8px 22px; border-radius: 3px; min-width: 96px; text-align: center;
}
.gtabs a:hover { background: #8a9090; color: #fff; }
.gtabs a.tab-active { background: var(--grey-tab-active); }
.gtab-rule { border: none; border-top: 5px solid #4c4c4c; margin: 10px 0 26px; }

/* ---- slideshow ---- */
.perf-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.slideshow { position: relative; background: #111; border-radius: 3px; overflow: hidden; }
.ss-slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.ss-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); border: none; color: #fff; font-size: 2rem; line-height: 1;
  width: 52px; height: 72px; cursor: pointer; border-radius: 4px;
}
.ss-arrow:hover { background: rgba(0,0,0,0.7); }
.ss-prev { left: 10px; } .ss-next { right: 10px; }
.ss-meta {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 8px; background: rgba(0,0,0,0.55); color: #fff;
}
.ss-play { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.5); color: #fff; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; font-size: 0.85rem; }
.ss-play:hover { background: rgba(255,255,255,0.35); }
.ss-count { font-size: 0.95rem; letter-spacing: 0.08em; }
.ss-caption {
  margin: 14px 0 0; text-align: center; color: var(--teal); font-family: var(--serif);
  text-transform: uppercase; letter-spacing: 0.04em; font-size: 1.02rem;
}
.perf-side .poster img { border-radius: 4px; box-shadow: 0 10px 26px rgba(60,30,10,0.18); margin-bottom: 20px; }

/* ---- conductor profile tabs + two-column profile ---- */
.profile-tabs { margin: 6px 0 26px; }
.profile-tabs h1 { margin-bottom: 18px; }
.proftabs { display: flex; flex-wrap: wrap; gap: 34px; }
.proftabs a {
  font-family: var(--serif); font-size: 1.12rem; color: #fff; text-decoration: none;
  background: var(--grey-tab); padding: 8px 20px; border-radius: 3px; text-align: center;
}
.proftabs a:hover { background: #8a9090; color: #fff; }
.proftabs a.tab-active { background: var(--grey-tab-active); }
.profile { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.profile-photo img { border-radius: 3px; }
.profile-body { font-family: var(--serif); }
.profile-body h2 { margin-top: 0; font-size: 1.9rem; }
.profile-body p { text-align: justify; }

/* ---- conductors index page ---- */
.md-section { margin: 0 0 8px; }
.md-section h2.md-name { font-size: 1.9rem; }
.spotlight { position: relative; overflow: hidden; border-radius: 4px; margin: 26px 0; background: var(--dark); min-height: 560px; }
.spotlight > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(0.5); }
.spotlight-copy {
  position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center;
  min-height: 560px; padding: 48px 8%; color: #fff; text-align: center; font-family: var(--serif);
}
.spotlight-copy h2 { color: #fff; font-size: 2.2rem; margin: 0 0 16px; }
.spotlight-copy p { color: #f2ede0; max-width: 44em; margin: 0 auto 1em; }
.md-portrait { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; margin: 22px 0; }
.md-portrait img { border-radius: 3px; }
.md-portrait .md-bio { font-family: var(--serif); }
.md-portrait .md-bio p { text-align: justify; }

/* ---- lightbox ---- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 10, 6, 0.92);
  display: flex; align-items: center; justify-content: center; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 90vw; max-height: 82vh; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.lb-cap { color: #e8dcc2; margin: 12px 0 0; font-size: 0.95rem; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: none; border: none; color: #f5ead0; font-size: 2.6rem;
  cursor: pointer; padding: 10px 16px; line-height: 1;
}
.lb-close { top: 8px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { color: var(--gold); }

/* ---- history ---- */
.year-dots { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 8px; }
.year-dot {
  min-width: 64px; text-align: center; padding: 10px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); cursor: pointer;
  color: var(--ink); font-weight: 700; font-family: var(--serif); font-size: 1rem;
}
.year-dot:hover { border-color: var(--gold); color: var(--red); }
.year-dot.open { background: var(--red); border-color: var(--red); color: #fff; }
.year-panels { margin: 4px 0 12px; }
.year-panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px 24px; margin-top: 12px; }
.year-panel h3 { margin-top: 0; }
.linklist li.nolink { color: var(--muted); }
.history-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px; margin-top: 12px; }
.linklist { list-style: none; padding: 0; margin: 0; }
.linklist li { padding: 7px 0; border-bottom: 1px dotted var(--line); }
.linklist a { text-decoration: none; color: var(--ink); font-weight: 500; }
.linklist a:hover { color: var(--red); }
.year-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 6px; }
.year-tabs a {
  padding: 7px 14px; border-radius: 999px; background: var(--card);
  border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  font-weight: 600; font-size: 0.92rem;
}
.year-tabs a:hover { border-color: var(--gold); color: var(--red); }

/* ---- committee ---- */
ul.roles { list-style: none; padding: 0; margin: 0 0 8px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
ul.roles li { display: flex; gap: 14px; padding: 9px 18px; border-bottom: 1px solid var(--line); }
ul.roles li:last-child { border-bottom: none; }
ul.roles .role { font-weight: 700; min-width: 220px; color: var(--red-deep); }
ul.roles .who { color: var(--ink); }

/* ---- videos ---- */
.video { margin: 32px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video figcaption { padding: 14px 20px; font-size: 0.95rem; }
.video figcaption strong { font-family: var(--serif); font-size: 1.08rem; display: block; margin-bottom: 2px; }

/* ---- contact ---- */
.social-rows { margin-top: 8px; }
.social-row { margin: 14px 0; font-size: 1.05rem; }
.social-row a { text-decoration: none; font-weight: 600; }
.social-row a:hover { text-decoration: underline; }

/* ---- footer ---- */
.site-footer { background: #fff; border-top: 1px solid #e8e2d4; padding: 30px 0 34px; margin-top: 0; }
.foot-in { display: flex; align-items: center; gap: 36px; }
.foot-brand img { width: 74px; height: 74px; object-fit: contain; }
.foot-mid { flex: 1 1 auto; }
.foot-social { display: flex; gap: 14px; margin: 0 0 10px; }
.foot-social a { color: #3c3c3c; display: inline-flex; width: 34px; height: 34px; }
.foot-social a svg { width: 100%; height: 100%; }
.foot-social a:hover { color: var(--teal-dark); }
.foot-copy { margin: 0; font-size: 0.85rem; color: #555; font-family: var(--serif); }
.foot-nac { display: flex; align-items: center; gap: 16px; max-width: 420px; }
.foot-nac img { width: 130px; flex: 0 0 auto; }
.foot-nac p { margin: 0; font-size: 0.82rem; color: #555; font-family: var(--serif); }

/* ---- legacy gallery grid (committee/orchestra archive pages) ---- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin: 24px 0; }
.gallery a { display: block; border-radius: 8px; overflow: hidden; background: var(--bg2); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.25s ease; }
.gallery a:hover img { transform: scale(1.04); }
.divider-strip { margin: 26px 0; }
.divider-strip img { width: 100%; border-radius: 4px; }

@media (max-width: 900px) {
  .desk-nav > a, .desk-nav .has-drop > a { padding: 14px 26px; }
  .perf-grid, .profile, .md-portrait { grid-template-columns: 1fr; }
  .postcards-grid { grid-template-columns: 1fr; gap: 32px; }
  .poster-wrap { max-width: 440px; margin: 0 auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .desk-nav { display: none; }
  .menu-btn { display: flex; }
  main h1 { font-size: 1.7rem; }
  .card { padding: 28px 22px 40px; }
  .band-btns { gap: 16px; }
  .foot-in { flex-direction: column; text-align: center; gap: 20px; }
  .foot-social { justify-content: center; }
  .foot-nac { flex-direction: column; }
  ul.roles li { flex-direction: column; gap: 2px; }
  ul.roles .role { min-width: 0; }
  .spotlight, .spotlight-copy { min-height: 0; }
  .spotlight > img { position: static; height: 340px; filter: brightness(0.7); }
  .spotlight-copy { background: var(--dark); padding: 28px 6%; }
}
