/* ================================================================
   Palaver Strings — Shared Design System (Brand Book 2022 Applied)
   Colors: Brioso Blue, Nocturne Navy, Aria Aqua, Gallant Gold,
           Overture Orange, Rhapsody Red
   Type:   Poppins exclusively (no-caps accent per brand guide)
   Used by: concerts.html, about.html, music-center.html,
            listen.html, press.html
   index.html is self-contained.
================================================================ */

/* ── TOKENS ─────────────────────────────────────────────────── */
:root {
  /* Typography set — Nocturne Navy as primary dark per brand book */
  --ink:        #0C1A3B;
  --ink-60:     rgba(12,26,59,.60);
  --ink-30:     rgba(12,26,59,.30);
  --ink-10:     rgba(12,26,59,.10);

  /* Light backgrounds — pale aqua tint evokes the brand palette */
  --cream:      #F0F9F7;
  --cream-2:    #DFF2ED;
  --white:      #FFFFFF;

  /* Dark section backgrounds */
  --forest:     #032197;  /* Brioso Blue */
  --forest-2:   #062768;  /* Nocturne Navy */
  --forest-mid: #1038B8;  /* Mid blue */

  /* Primary warm accent — Overture Orange as main CTA */
  --gold:       #F8B935;  /* Overture Orange */
  --gold-2:     #F8CA64;  /* Gallant Gold */
  --gold-pale:  rgba(248,185,53,.13);

  /* Teal accent — Aria Aqua for labels, highlights */
  --aqua:       #79D5C0;  /* Aria Aqua */
  --sea:        #68ADA5;  /* Sonata Sea Green */

  /* Accent red */
  --red:        #E4482E;  /* Rhapsody Red */

  /* Secondary text — muted blue-grey */
  --stone:      #5A6E9B;
  --stone-2:    #8FA3C8;

  /* Poppins exclusively — brand book mandates single typeface */
  --serif: 'Poppins', -apple-system, sans-serif;
  --sans:  'Poppins', -apple-system, sans-serif;

  --w:   1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --r:   8px;
  --ease: .2s ease;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img   { display: block; max-width: 100%; }
a     { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--sans); }
ul, ol { list-style: none; }

/* ── SKIP LINK ───────────────────────────────────────────────── */
.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
#skip:focus {
  clip: auto; width: auto; height: auto; overflow: visible;
  position: fixed; top: 1rem; left: 1rem; z-index: 9999;
  background: var(--gold); color: var(--ink);
  padding: .5rem 1rem; border-radius: 4px; font-weight: 600;
}

/* ── TYPE SCALE ──────────────────────────────────────────────── */
/* Brand book: "no caps poppins" for accent/display, Poppins throughout */
.f-disp { font-family: var(--sans); font-size: clamp(2.8rem,7vw,6rem);   font-weight: 300; line-height: 1.08; letter-spacing: -.02em; }
.f-h1   { font-family: var(--sans); font-size: clamp(2.2rem,5vw,4.5rem); font-weight: 400; line-height: 1.1;  letter-spacing: -.015em; }
.f-h2   { font-family: var(--sans); font-size: clamp(1.8rem,3.5vw,3.2rem);font-weight: 400; line-height: 1.15; letter-spacing: -.01em; }
.f-h3   { font-family: var(--sans); font-size: clamp(1.3rem,2.5vw,2.2rem);font-weight: 500; line-height: 1.2;  letter-spacing: -.005em; }
.f-h4   { font-family: var(--sans); font-size: clamp(1.05rem,1.8vw,1.4rem);font-weight: 500; line-height: 1.3; }
/* Brand book: "accent: no caps poppins" — no uppercase, aqua color */
.f-label{ font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--aqua); }
.f-body { font-size: 1rem; line-height: 1.78; font-weight: 300; }
.f-sm   { font-size: .875rem; line-height: 1.7; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 var(--pad); }
.sec  { padding: clamp(4rem,8vw,7rem) 0; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn       { display: inline-flex; align-items: center; gap: .45rem; padding: .9rem 1.8rem; border-radius: var(--r); font-size: .88rem; font-weight: 600; letter-spacing: .01em; border: none; white-space: nowrap; transition: all var(--ease); font-family: var(--sans); }
.btn-lg    { padding: 1.1rem 2.2rem; font-size: .95rem; }
/* Primary CTA — Overture Orange with dark text (brand warm accent) */
.btn-gold  { background: var(--gold); color: var(--ink); }
.btn-gold:hover  { background: var(--gold-2); box-shadow: 0 4px 20px rgba(248,185,53,.35); transform: translateY(-1px); }
.btn-line  { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-30); }
.btn-line:hover  { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.32); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.6); }

.link-arr { display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 600; color: var(--aqua); transition: gap var(--ease); }
.link-arr:hover { gap: .65rem; }

/* ── FADE ────────────────────────────────────────────────────── */
.fade { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.fade.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* ── NAV ─────────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
  background: var(--forest-2); /* Nocturne Navy */
  border-color: rgba(255,255,255,.08);
}
#nav.on { background: var(--white); border-color: var(--cream-2); }

.nav-i {
  max-width: var(--w); margin: 0 auto; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}

.nav-logo img { height: 26px; width: auto; filter: brightness(0) invert(1); transition: filter var(--ease); }
#nav.on .nav-logo img { filter: none; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .82rem; font-weight: 500; color: rgba(255,255,255,.72); letter-spacing: .01em; transition: color var(--ease); }
.nav-links a:hover { color: var(--gold-2); }
#nav.on .nav-links a { color: var(--stone); }
#nav.on .nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: #fff; font-weight: 600; }
#nav.on .nav-links a.active { color: var(--ink); }

/* Donate pill — Overture Orange with dark text */
.nav-donate {
  background: var(--gold) !important; color: var(--ink) !important;
  padding: .5rem 1.2rem; border-radius: var(--r);
  font-weight: 600 !important; font-size: .82rem !important;
  transition: background var(--ease) !important;
}
.nav-donate:hover { background: var(--gold-2) !important; color: var(--ink) !important; }

.nav-ham { display: none; flex-direction: column; gap: 4.5px; background: none; border: none; padding: 3px; }
.nav-ham span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,.8); border-radius: 1px; transition: all var(--ease); }
#nav.on .nav-ham span { background: var(--ink); }

/* ── MOBILE NAV ──────────────────────────────────────────────── */
#mob {
  display: none; position: fixed; inset: 0;
  background: var(--forest-2); z-index: 1000;
  flex-direction: column; padding: 2rem var(--pad);
}
#mob.open { display: flex; }
.mob-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.mob-top img { height: 24px; filter: brightness(0) invert(1); }
.mob-x { background: none; border: none; color: rgba(255,255,255,.5); font-size: 1.4rem; line-height: 1; }
/* Brand book: Poppins for mobile nav, no serif */
.mob-nav { display: flex; flex-direction: column; gap: 0; flex: 1; }
.mob-nav a { font-family: var(--sans); font-size: 2.2rem; font-weight: 300; color: var(--white); line-height: 1; padding: .8rem 0; border-bottom: 1px solid rgba(255,255,255,.07); display: block; }
.mob-nav a:hover { color: var(--gold-2); }
.mob-foot { padding-top: 2.5rem; }

/* ── PAGE HEADER (used by all inner pages) ───────────────────── */
.page-header {
  padding: calc(68px + 4rem) var(--pad) 4rem;
  background: var(--forest-2);
  max-width: var(--w); margin: 0 auto;
}
.page-header-wrap {
  padding-top: calc(68px + 3rem);
  background: var(--forest-2);
}
.ph-label { color: var(--aqua); display: block; margin-bottom: .75rem; }
.ph-title { color: #fff; }
.ph-sub   { color: rgba(255,255,255,.55); font-size: 1.05rem; line-height: 1.75; font-weight: 300; margin-top: 1.1rem; max-width: 580px; }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background: var(--forest-2); padding: 5rem 0 2.5rem; }
.ft-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  margin-bottom: 2rem;
}
.ft-logo img { height: 22px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.ft-desc { color: rgba(255,255,255,.35); font-size: .82rem; line-height: 1.78; max-width: 270px; margin-bottom: 1.5rem; }
.ft-social { display: flex; gap: .5rem; }
.ft-soc {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--ease);
}
.ft-soc:hover { background: rgba(255,255,255,.15); }
.ft-soc svg { width: 13px; height: 13px; stroke: rgba(255,255,255,.5); fill: none; }
/* Brand book: no-caps for column labels, aqua color */
.ft-col-label { font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: var(--aqua); display: block; margin-bottom: 1rem; }
.ft-links { display: flex; flex-direction: column; gap: .55rem; }
.ft-links a { font-size: .82rem; color: rgba(255,255,255,.38); transition: color var(--ease); }
.ft-links a:hover { color: rgba(255,255,255,.78); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; }
.ft-legal   { font-size: .72rem; color: rgba(255,255,255,.22); }
.ft-legal a { color: rgba(255,255,255,.32); }
.ft-np { font-size: .68rem; color: rgba(255,255,255,.2); text-align: right; line-height: 1.6; }

/* ── NEWSLETTER BAND (shared) ────────────────────────────────── */
.nl-sec { background: var(--cream); padding: 4rem 0; border-top: 1px solid var(--cream-2); }
.nl-i   { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.nl-head { font-family: var(--sans); font-size: 1.65rem; font-weight: 500; margin-bottom: .35rem; }
.nl-sub  { color: var(--stone); font-size: .9rem; }
.nl-form { display: flex; gap: .5rem; }
.nl-inp  {
  flex: 1; padding: .85rem 1.1rem;
  border: 1.5px solid var(--cream-2); border-radius: var(--r);
  font-size: .9rem; font-family: var(--sans);
  background: #fff; color: var(--ink); outline: none;
  transition: border-color var(--ease);
}
.nl-inp:focus { border-color: var(--aqua); }
.nl-inp::placeholder { color: var(--stone-2); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-ham   { display: flex; }
  .nl-i      { grid-template-columns: 1fr; }
  .nl-form   { flex-direction: column; }
  .ft-grid   { grid-template-columns: 1fr; gap: 2rem; }
  .ft-bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .ft-np     { text-align: center; }
}
