:root{
  --paper:#F6F4F1; --surface:#FFFFFF; --sunk:#EFEBE6;
  --ink:#1A2430; --body:#3A4754; --muted:#6B7783;
  --rule:#E0DAD2; --rule-strong:#C9C1B7;
  --accent:#C8481F; --accent-soft:#FBEDE7;
  --cool:#2E7D9A; --cool-soft:#E7F2F6;
  --shadow:0 1px 2px rgba(26,36,48,.06), 0 8px 24px rgba(26,36,48,.07);
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    color-scheme: dark;
    --paper:#131A21; --surface:#1B242E; --sunk:#161E26;
    --ink:#EEF1F4; --body:#C3CCD5; --muted:#8E9BA8;
    --rule:#2A3541; --rule-strong:#3B4854;
    --accent:#F0774A; --accent-soft:#2E1E17;
    --cool:#7FC4DD; --cool-soft:#15252C;
    --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"]{
  color-scheme: dark;
  --paper:#131A21; --surface:#1B242E; --sunk:#161E26;
  --ink:#EEF1F4; --body:#C3CCD5; --muted:#8E9BA8;
  --rule:#2A3541; --rule-strong:#3B4854;
  --accent:#F0774A; --accent-soft:#2E1E17;
  --cool:#7FC4DD; --cool-soft:#15252C;
  --shadow:0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35);
}
*{box-sizing:border-box}
body{
  margin:0; background:var(--paper); color:var(--body);
  font-family:Karla,"Helvetica Neue",Arial,sans-serif;
  font-size:16.5px; line-height:1.6; -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{font-family:Fraunces,Georgia,"Times New Roman",serif; color:var(--ink); text-wrap:balance; margin:0}
a{color:inherit}
img{max-width:100%; display:block}
.wrap{width:100%; max-width:1080px; margin-inline:auto; padding-inline:20px}

/* demo notice */
.demo-bar{background:var(--ink); color:var(--paper); font-size:13.5px; padding-block:9px}
.demo-bar .wrap{display:flex; gap:10px 16px; flex-wrap:wrap; align-items:baseline; justify-content:space-between}
.demo-bar strong{color:#fff; font-weight:700; letter-spacing:.04em; text-transform:uppercase; font-size:11.5px}
:root[data-theme="dark"] .demo-bar strong, :root:not([data-theme="light"]) .demo-bar strong{color:var(--ink)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .demo-bar{background:var(--surface); color:var(--body)} :root:not([data-theme="light"]) .demo-bar strong{color:var(--accent)}}
:root[data-theme="dark"] .demo-bar{background:var(--surface); color:var(--body)}
:root[data-theme="dark"] .demo-bar strong{color:var(--accent)}
.demo-cost{color:var(--cool); font-weight:600}

/* header */
header.site{position:sticky; top:env(safe-area-inset-top,0px); z-index:20; background:color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter:blur(10px); border-bottom:1px solid var(--rule)}
header.site .wrap{display:flex; align-items:center; gap:18px; min-height:62px; flex-wrap:wrap}
.mark{font-family:Fraunces,Georgia,serif; font-weight:700; font-size:17px; letter-spacing:-.01em; color:var(--ink); line-height:1.15; text-decoration:none}
.mark span{display:block; font-family:Karla,sans-serif; font-weight:600; font-size:10.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted)}

/* The logo is black line art on transparency, so it takes the page's own
   background and is inverted to white in dark mode rather than shipped twice. */
.mark-logo{display:flex; align-items:center; gap:14px}
.mark-logo img{height:140px; width:auto; flex:none}
.mark-logo span{display:block}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .mark-logo img{filter:invert(1)}
}
:root[data-theme="dark"] .mark-logo img{filter:invert(1)}
.mark-logo-footer img{height:156px}
@media (max-width:620px){.mark-logo-footer img{height:124px}}
@media (max-width:620px){
  .mark-logo{gap:10px}
  .mark-logo img{height:108px}
  .mark-logo span{font-size:9.5px; letter-spacing:.12em}
}
nav.site{margin-left:auto; display:flex; gap:20px; flex-wrap:wrap}
nav.site a{font-size:14.5px; font-weight:500; color:var(--body); text-decoration:none; padding-block:4px; border-bottom:2px solid transparent}
nav.site a:hover{color:var(--accent); border-bottom-color:var(--accent)}
nav.site a[aria-current="page"]{color:var(--accent); border-bottom-color:var(--accent); font-weight:600}


/* hero */
.hero{padding-block:clamp(36px,6vw,60px) 0; border-bottom:1px solid var(--rule)}
.hero-copy{max-width:56ch}
.eyebrow{font-size:11.5px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:var(--accent); margin:0 0 14px}
.hero h1{font-size:clamp(34px,5.6vw,58px); line-height:1.02; font-weight:600; letter-spacing:-.02em}
.script{display:block; font-style:italic; font-weight:400; font-size:clamp(18px,2.4vw,25px); color:var(--cool); margin-top:14px; line-height:1.35}
.hero p.lede{font-size:17px; margin:20px 0 0; max-width:46ch}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin-top:26px}
.btn{display:inline-flex; align-items:center; gap:8px; font-family:Karla,sans-serif; font-weight:600; font-size:14.5px;
  padding:11px 18px; border-radius:2px; text-decoration:none; border:1.5px solid transparent; cursor:pointer; transition:.15s}
.btn-primary{background:var(--accent); color:#fff; border-color:var(--accent)}
.btn-primary:hover{filter:brightness(1.08)}
.btn-ghost{border-color:var(--rule-strong); color:var(--ink); background:transparent}
.btn-ghost:hover{border-color:var(--accent); color:var(--accent)}
/* the orchestra photo fades to white at its edges, so it sits on a fixed light mount in both themes */
.stage{margin:clamp(28px,4vw,44px) 0 0; padding:0}
.stage .mount{background:#F4F2EF; border:1px solid var(--rule); border-top-left-radius:2px; border-top-right-radius:2px;
  padding:clamp(8px,1.4vw,16px) clamp(8px,1.4vw,16px) 0; overflow:hidden}
.stage img{width:100%; height:auto; max-width:100%; display:block}
.stage figcaption{font-size:12.5px; color:var(--muted); margin:10px 0 clamp(24px,3vw,34px)}
.free-flag{display:inline-block; background:var(--cool-soft); color:var(--cool); border:1px solid color-mix(in srgb,var(--cool) 30%, transparent);
  font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; padding:5px 11px; border-radius:2px; margin-bottom:16px}

/* sections */
section{padding-block:clamp(40px,6vw,72px); border-bottom:1px solid var(--rule)}
.sec-head{margin-bottom:clamp(24px,3.5vw,38px); max-width:60ch}
.sec-head h1,.sec-head h2{font-size:clamp(25px,3.4vw,36px); font-weight:600; letter-spacing:-.015em}
.sec-head h1{font-size:clamp(28px,4vw,42px)}
.sec-head p{margin:12px 0 0; color:var(--muted)}

/* season timeline — order carries meaning: it is a season, in sequence */
.season{display:flex; flex-direction:column}
.concert{display:grid; grid-template-columns:118px 1fr auto; gap:clamp(16px,3vw,32px); align-items:start;
  padding-block:24px; border-top:1px solid var(--rule)}
.concert:last-child{border-bottom:1px solid var(--rule)}
.when{border-left:3px solid var(--accent); padding-left:14px}
.when .mo{font-size:11.5px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--accent)}
.when .day{font-family:Fraunces,Georgia,serif; font-size:38px; font-weight:600; color:var(--ink); line-height:1; font-variant-numeric:tabular-nums; margin-top:2px}
.when .dow{font-size:12.5px; color:var(--muted); margin-top:5px}
.what h3{font-size:clamp(20px,2.4vw,25px); font-weight:600; letter-spacing:-.01em}
.what .times{margin:8px 0 0; font-weight:600; color:var(--body); font-variant-numeric:tabular-nums}
.what .venue{margin:4px 0 0; font-size:14.5px; color:var(--muted)}
.what .note{margin:8px 0 0; font-size:14.5px; color:var(--cool); font-weight:500}
.concert .act{display:flex; flex-direction:column; gap:8px; align-items:stretch}
.add-link{font-size:13.5px; font-weight:600; text-decoration:none; color:var(--ink); border:1.5px solid var(--rule-strong);
  padding:9px 14px; border-radius:2px; text-align:center; white-space:nowrap; transition:.15s}
.add-link:hover{border-color:var(--accent); color:var(--accent)}

/* subscribe */
.subscribe{background:var(--sunk); border:1px solid var(--rule); border-radius:2px; padding:clamp(20px,3vw,30px); margin-top:34px}
.subscribe h3{font-size:20px; font-weight:600; margin-bottom:8px}
.subscribe p{margin:0 0 16px; color:var(--muted); font-size:15px; max-width:62ch}
.feed{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.feed code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; font-size:13px; background:var(--surface);
  border:1px solid var(--rule); padding:10px 13px; border-radius:2px; color:var(--ink); overflow-x:auto; white-space:nowrap; max-width:100%}
.copied{font-size:13px; color:var(--cool); font-weight:600}

/* generic grids */
.cols{display:grid; gap:clamp(18px,3vw,30px)}
.cols-2{grid-template-columns:repeat(2,1fr)}
.cols-3{grid-template-columns:repeat(3,1fr)}
.card{background:var(--surface); border:1px solid var(--rule); border-radius:2px; padding:22px}
.card h3{font-size:18px; font-weight:600; margin-bottom:6px}
.card p{margin:0; font-size:15px; color:var(--muted)}
.card address{font-style:normal; font-size:15px; color:var(--muted); line-height:1.55}

.people{display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(18px,3vw,30px)}
.person{display:flex; gap:18px; align-items:flex-start}
.person img{width:104px; height:104px; object-fit:cover; border-radius:2px; flex:none; background:var(--sunk)}
.person .role{font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--accent)}
.person h3{font-size:19px; font-weight:600; margin:3px 0 0}

.prose p{max-width:65ch}
.prose p + p{margin-top:14px}

.sponsors{display:flex; gap:clamp(20px,4vw,48px); align-items:center; flex-wrap:wrap; margin-top:24px}
.sponsors img{max-height:62px; width:auto; object-fit:contain}

.support-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(16px,2.5vw,24px); margin-top:8px}
.support-grid .card{display:flex; flex-direction:column; gap:10px}
.support-grid .card a.btn{margin-top:auto; align-self:flex-start}

footer.site{padding-block:38px 46px; background:var(--sunk)}
footer.site .wrap{display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:28px}
footer.site h4{font-family:Karla,sans-serif; font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); margin:0 0 10px}
footer.site a{color:var(--body); text-decoration:none; font-size:15px}
footer.site a:hover{color:var(--accent)}
footer.site ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:7px}
.fine{margin-top:30px; padding-top:18px; border-top:1px solid var(--rule); font-size:13px; color:var(--muted)}

:focus-visible{outline:2px solid var(--accent); outline-offset:3px}
@media (prefers-reduced-motion:reduce){*{transition:none!important; animation:none!important}}

@media (max-width:860px){
  .cols-3,.support-grid,footer.site .wrap{grid-template-columns:1fr 1fr}
  .people{grid-template-columns:1fr}
}
@media (max-width:620px){
  .concert{grid-template-columns:86px 1fr}
  .concert .act{grid-column:1/-1; flex-direction:row; flex-wrap:wrap}
  .when .day{font-size:31px}
  .cols-2,.cols-3,.support-grid,footer.site .wrap{grid-template-columns:1fr}
  header.site .wrap{min-height:0; padding-block:10px}
  nav.site{margin-left:0; width:100%; gap:16px; justify-content:space-between; border-top:1px solid var(--rule); padding-top:9px}
  nav.site a{font-size:14px}
}

/* home page promotion — a limited-time fundraiser banner.
   The picture is whatever the orchestra has to hand — usually a portrait
   poster with the offer written into the artwork — so it is never cropped.
   Two layouts, chosen in the admin panel. Target sizes are in docs/pictures.md;
   change them here and there together. */
.promo{width:100%; max-width:1080px; margin:clamp(26px,4vw,44px) auto 0; padding-inline:20px}
.promo-link{
  background:var(--surface); border:1px solid var(--rule); border-radius:2px;
  box-shadow:var(--shadow); text-decoration:none; overflow:hidden; display:block;
  transition:border-color .15s ease;
}
.promo-link:hover{border-color:var(--accent)}
.promo-link img{object-fit:contain; background:var(--sunk); width:auto; height:auto}
.promo-copy h2{font-size:clamp(21px,2.6vw,27px); font-weight:600; margin-bottom:8px}
.promo-copy p{margin:0 0 16px; font-size:15.5px; color:var(--muted)}

/* "Picture beside the words" — image box 360 x 450 (supply 720 x 900) */
.promo-beside .promo-link{
  display:grid; grid-template-columns:auto minmax(0,1fr);
  align-items:center; gap:clamp(18px,3vw,32px);
}
.promo-beside .promo-link img{max-width:min(42vw,360px); max-height:450px}
.promo-beside .promo-copy{padding:clamp(20px,3vw,30px) clamp(20px,3vw,30px) clamp(20px,3vw,30px) 0}

/* "One large picture" — image box 540 x 675 (supply 1080 x 1350) */
.promo-large .promo-link{text-align:center}
.promo-large .promo-link img{max-width:min(100%,540px); max-height:675px; margin-inline:auto}
.promo-large .promo-copy{padding:clamp(20px,3vw,28px)}
.promo-large .promo-copy p{margin-inline:auto; max-width:56ch}

@media (max-width:760px){
  .promo-beside .promo-link{grid-template-columns:1fr; gap:0}
  .promo-beside .promo-link img{max-width:100%; max-height:60vh; margin-inline:auto}
  .promo-beside .promo-copy{padding:20px}
}

/* board of directors */
.sr-only{position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.board-group{font-family:Karla,sans-serif; font-size:11.5px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--muted); margin:clamp(22px,3vw,30px) 0 12px}
.board-group:first-of-type{margin-top:0}
.board-list{list-style:none; margin:0; padding:0; display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:2px clamp(18px,3vw,30px)}
.board-list li{padding:9px 0; border-bottom:1px solid var(--rule); display:flex; flex-wrap:wrap;
  align-items:baseline; gap:4px 10px}
.board-name{font-weight:600; color:var(--ink)}
.board-role{font-size:14.5px; color:var(--muted)}
.board-bio{flex-basis:100%; font-size:14px; color:var(--muted)}
.board-rep{color:var(--accent); font-weight:700; padding-left:1px}
.board-key{margin:16px 0 0; font-size:13.5px; color:var(--muted)}

/* events that are not concerts, and the ticket button */
.btn-sm{font-size:13px; padding:7px 13px}
.kind-tag{display:inline-block; font-family:Karla,sans-serif; font-size:10.5px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--accent); background:var(--accent-soft);
  border-radius:2px; padding:3px 7px; vertical-align:middle; margin-left:6px}

/* concert flyer — a poster with the details written into it, so never cropped */
.flyer{display:inline-flex; flex-direction:column; gap:6px; margin-top:12px; text-decoration:none; max-width:200px}
.flyer img{width:100%; height:auto; max-height:280px; object-fit:contain;
  border:1px solid var(--rule); border-radius:2px; background:var(--sunk)}
.flyer span{font-size:13px; color:var(--muted)}
.flyer:hover img{border-color:var(--accent)}
.flyer:hover span{color:var(--accent)}

/* the next concert, featured with its flyer */
#next{padding-block:clamp(28px,4vw,48px) 0}
.next-concert{display:grid; grid-template-columns:auto minmax(0,1fr); gap:clamp(20px,4vw,40px);
  align-items:center; background:var(--surface); border:1px solid var(--rule);
  border-radius:2px; box-shadow:var(--shadow); padding:clamp(18px,3vw,28px)}
.next-concert.next-noflyer{grid-template-columns:1fr}
.next-flyer img{width:auto; height:auto; max-height:360px; max-width:min(44vw,280px);
  object-fit:contain; border:1px solid var(--rule); border-radius:2px; background:var(--sunk)}
.next-flyer:hover img{border-color:var(--accent)}
.next-copy h2{font-size:clamp(24px,3.2vw,34px); font-weight:600; margin:4px 0 10px}
.next-when{font-family:Karla,sans-serif; font-weight:600; font-size:16.5px; color:var(--ink); margin:0}
.next-where{margin:3px 0 0; color:var(--muted)}
.next-free{margin:12px 0 0; font-size:15px; color:var(--accent); font-weight:600}
.next-copy .note{margin:10px 0 0; color:var(--muted); font-size:15px}
.next-copy .cta-row{margin-top:18px}
.next-flyerlink{margin:12px 0 0; font-size:13.5px}
.next-flyerlink a{color:var(--muted)}
@media (max-width:760px){
  .next-concert{grid-template-columns:1fr; justify-items:center; text-align:center}
  .next-flyer img{max-width:100%; max-height:46vh}
  .next-copy .cta-row{justify-content:center}
}

/* the editing guide at /help/ */
.prose-page{max-width:72ch}
.prose-page h2{font-family:Fraunces,Georgia,serif; font-size:clamp(20px,2.4vw,25px); font-weight:600;
  color:var(--ink); margin:clamp(30px,4vw,44px) 0 10px; scroll-margin-top:110px}
.prose-page h2:first-of-type{margin-top:clamp(20px,3vw,28px)}
.prose-page h3{font-size:18px; font-weight:600; margin:24px 0 8px; scroll-margin-top:110px}
.prose-page p{margin:0 0 14px}
.prose-page ul{margin:0 0 16px; padding-left:20px}
.prose-page li{margin-bottom:6px}
.prose-page table{width:100%; border-collapse:collapse; margin:0 0 18px; font-size:15px}
.prose-page th{text-align:left; font-family:Karla,sans-serif; font-size:11.5px; font-weight:700;
  letter-spacing:.12em; text-transform:uppercase; color:var(--muted);
  border-bottom:1px solid var(--rule-strong); padding:0 12px 8px 0}
.prose-page td{border-bottom:1px solid var(--rule); padding:9px 12px 9px 0; vertical-align:top}
.prose-page a{color:var(--accent)}
.prose-page figure{margin:18px 0 22px}
.prose-page figure img{width:100%; height:auto; border:1px solid var(--rule); border-radius:2px;
  box-shadow:var(--shadow)}
.prose-page figcaption{font-size:13.5px; color:var(--muted); margin-top:8px}
.prose-page figure.fig-narrow img{width:auto; max-width:min(100%,340px)}
.prose-page figure.fig-narrow figcaption{max-width:340px}
.toc{background:var(--sunk); border:1px solid var(--rule); border-radius:2px;
  padding:18px 22px; margin:0 0 clamp(24px,3vw,34px)}
.toc h2{font-family:Karla,sans-serif; font-size:11.5px; font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; color:var(--muted); margin:0 0 10px}
.toc ul{list-style:none; margin:0; padding:0; columns:2; column-gap:30px}
.toc li{margin-bottom:5px; break-inside:avoid}
.toc a{font-size:14.5px; color:var(--body); text-decoration:none}
.toc a:hover{color:var(--accent); text-decoration:underline}
@media (max-width:620px){ .toc ul{columns:1} }
