/* ============================================================
   Times Square Orchestra — shared stylesheet
   Modern, responsive, offline-first (system fonts only)
   ============================================================ */

:root {
  --ink: #101828;
  --ink-soft: #344054;
  --muted: #667085;
  --midnight: #0d1321;
  --midnight-2: #141d33;
  --gold: #c9a227;
  --gold-bright: #e3b93c;
  --champagne: #f5ead1;
  --paper: #ffffff;
  --cream: #faf7f0;
  --line: #e6e2d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(13, 19, 33, .10);
  --shadow-soft: 0 4px 14px rgba(13, 19, 33, .07);
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Palatino Linotype", serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---------- Layout: centered ---------- */
.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap--narrow { max-width: 860px; }

main { padding: 48px 0 72px; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--midnight);
  padding: 10px 18px;
  border-radius: 0 0 8px 0;
  font-weight: 700;
  z-index: 100;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--midnight);
  color: #fff;
  border-bottom: 3px solid var(--gold);
}
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  flex-wrap: wrap;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #fff;
  line-height: 1.25;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .02em;
}
.brand__name span { color: var(--gold-bright); }
.brand__tag {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #b8c0d0;
}
.header-phone {
  display: inline-block;
  background: var(--gold);
  color: var(--midnight);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.header-phone:hover { background: var(--gold-bright); }

/* ---------- Nav ---------- */
.site-nav { background: var(--midnight-2); position: relative; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.site-nav a {
  display: block;
  color: #e6e9f2;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 12px 16px;
  border-bottom: 3px solid transparent;
}
.site-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav a[aria-current="page"] {
  color: var(--gold-bright);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 0;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(160deg, rgba(13, 19, 33, .94) 0%, rgba(13, 19, 33, .82) 55%, rgba(13, 19, 33, .55) 100%),
    url("../img/band.jpg") center 30% / cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 88px 0 92px;
}
.hero--slim { padding: 56px 0 60px; }
.hero__kicker {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-bright);
  border: 1px solid rgba(227, 185, 60, .5);
  border-radius: 999px;
  padding: 6px 18px;
  margin: 0 0 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.2;
  margin: 0 0 18px;
  color: #fff;
}
.hero p.lead {
  max-width: 640px;
  margin: 0 auto 30px;
  font-size: 1.15rem;
  color: #d7dce8;
}
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 13px 30px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--midnight); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ghost {
  border: 2px solid rgba(255, 255, 255, .65);
  color: #fff;
  margin-left: 10px;
}
.btn--ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.hero__actions .btn--ghost { margin-left: 10px; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--dark {
  background: var(--midnight);
  color: #d7dce8;
}
.section--dark h2, .section--dark h3 { color: #fff; }

.kicker {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 16px;
}
.section--dark h2 { color: #fff; }
h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 8px;
}
.section--dark h3 { color: var(--gold-bright); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--muted); margin: 0; }
.section--dark .section-head p { color: #b8c0d0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card__icon { font-size: 1.6rem; display: block; margin-bottom: 12px; }
.card a { color: var(--ink); font-weight: 600; }
.section--dark .card {
  background: var(--midnight-2);
  border-color: rgba(255, 255, 255, .12);
}
.section--dark .card p { color: #b8c0d0; }
.section--dark .card a { color: var(--gold-bright); }

/* ---------- Feature split (image + text) ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.split__media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.split__media figcaption {
  font-size: .85rem;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
.checklist { list-style: none; margin: 20px 0 0; padding: 0; }
.checklist li {
  padding: 8px 0 8px 34px;
  position: relative;
}
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--midnight);
  font-size: .8rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section--dark .checklist li { color: #e6e9f2; }

/* ---------- Song list pages ---------- */
.page-head {
  text-align: center;
  padding: 20px 0 8px;
}
.page-head .kicker { margin-bottom: 8px; }
.page-head p.sub {
  color: var(--muted);
  max-width: 640px;
  margin: 12px auto 0;
}
.breadcrumb {
  font-size: .85rem;
  color: var(--muted);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb li + li::before { content: "\203A"; margin-right: 8px; color: var(--gold); }
.breadcrumb a { color: var(--muted); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }

.song-columns {
  columns: 2;
  column-gap: 48px;
  margin: 36px 0 8px;
  padding: 0;
  list-style: none;
}
.song-columns li {
  break-inside: avoid;
  padding: 7px 0 7px 26px;
  position: relative;
  border-bottom: 1px dashed var(--line);
  font-size: .98rem;
}
.song-columns li::before {
  content: "\266B";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .9rem;
}

.note {
  background: var(--champagne);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  color: var(--ink);
  font-size: .98rem;
}

.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cat-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, box-shadow .15s ease;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.cat-card span { color: var(--muted); font-size: .88rem; }

/* ---------- Band member page ---------- */
.member-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}
.member-card h3 { margin: 0; font-size: 1.2rem; }
.member-card .role {
  color: var(--gold);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0 0 6px;
}
.member-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 3.4rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}
.quote p { margin: 0 0 14px; color: var(--ink-soft); font-style: italic; }
.quote footer { font-size: .88rem; font-weight: 700; color: var(--muted); }
.section--dark .quote { background: var(--midnight-2); border-color: rgba(255,255,255,.12); }
.section--dark .quote p { color: #e6e9f2; }
.section--dark .quote footer { color: var(--gold-bright); }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-soft);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  padding: 18px 22px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item .faq-a { padding: 0 22px 20px; color: var(--muted); }
.faq-item .faq-a p { margin: 0 0 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--midnight) 0%, #1b2a4a 100%);
  color: #fff;
  text-align: center;
  padding: 60px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c6cddc; max-width: 620px; margin: 0 auto 26px; }
.cta-band .phone-big {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold-bright);
  text-decoration: none;
  display: block;
  margin-bottom: 24px;
}

/* ---------- Tables (event details) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .98rem;
}
.info-table th, .info-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th { color: var(--ink); white-space: nowrap; width: 220px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field input, .field textarea, .field select {
  font: inherit;
  padding: 11px 14px;
  border: 1px solid #cfd4dd;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: 2px solid rgba(201, 162, 39, .25); }
fieldset.bordered {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 0 0 26px;
}
fieldset.bordered legend {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  padding: 0 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--midnight);
  color: #b8c0d0;
  font-size: .92rem;
  padding: 52px 0 28px;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-display);
  margin: 0 0 14px;
  font-size: 1.02rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #b8c0d0; text-decoration: none; }
.site-footer a:hover { color: var(--gold-bright); }
.footer-brand .brand__name { font-size: 1.2rem; }
.footer-brand p { margin: 12px 0 0; }
.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: .84rem;
  color: #8b93a5;
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.more-link { font-weight: 700; color: var(--ink); text-decoration: none; }
.more-link:hover { color: var(--gold); }
.back-link { display: inline-block; margin-top: 28px; font-weight: 700; }
address { font-style: normal; }
address a { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4,
  .member-grid, .quote-grid, .cat-grid,
  .form-grid { grid-template-columns: 1fr; }
  .song-columns { columns: 1; }
  .nav-toggle { display: block; }
  .site-nav ul {
    display: none;
    flex-direction: column;
    padding-bottom: 10px;
  }
  .site-nav ul.open { display: flex; }
  .site-nav a { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
  .btn--ghost { margin-left: 0; margin-top: 12px; }
  .hero__actions .btn--ghost { margin-left: 10px; margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media print {
  .site-header, .site-footer, .nav-toggle, .cta-band { display: none; }
  body { color: #000; }
}