@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,300;0,400;1,300;1,400&display=swap');

:root {
  --cerulean: #2e8fbd;
  --cerulean-dark: #1f6a8f;
  --cerulean-mid: #3da0cf;
  --cerulean-light: #5ab4d4;
  --cerulean-pale: #d6eff8;
  --cerulean-paler: #eaf6fb;
  --navy: #1a2744;
  --navy-mid: #243660;
  --white: #ffffff;
  --off-white: #f4fafd;
  --text-light: rgba(26, 39, 68, 0.65);
  --text-muted: rgba(26, 39, 68, 0.58);
  --text-on-cerulean: rgba(255, 255, 255, 0.8);
  --border-blue: rgba(46, 143, 189, 0.14);
  --nav-height: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--off-white);
  color: var(--navy);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--border-blue);
  backdrop-filter: blur(6px);
}

.nav-logo { height: 44px; max-width: 180px; width: auto; display: block; object-fit: contain; }

.nav-links {
  /* On desktop: positioned inside the nav bar area */
  position: fixed;
  top: 0;
  right: 0;
  height: var(--nav-height);
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  padding-right: 48px;
  z-index: 201;
  background: transparent;
  pointer-events: auto;
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; }

.nav-cta {
  opacity: 1 !important;
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 7px 18px !important;
  border-radius: 2px;
  font-weight: 600 !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--navy); transition: all 0.25s; }

/* ── HERO (homepage) ── */
.hero {
  background: var(--cerulean);
  padding: 100px 64px 96px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: left 40%; opacity: 0.15; }
.hero-mountains { position: absolute; bottom: 0; left: 0; right: 0; height: 260px; }
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  display: block;
  margin-bottom: 22px;
}

.hero-logotype {
  display: block;
  max-width: 480px;
  width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.hero h1,
.hero-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 32px;
  letter-spacing: 0.03em;
}

.hero h1 em { font-style: italic; color: var(--navy); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-on-cerulean);
  max-width: 480px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-mid); }

.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); }

.btn-cerulean { background: var(--cerulean); color: var(--white); }
.btn-cerulean:hover { background: var(--cerulean-dark); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--cerulean);
  padding: calc(var(--nav-height) + 52px) 64px 52px;
  position: relative;
  overflow: hidden;
}

.page-hero-mountains { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; opacity: 0.35; }
.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-top: 10px;
}

.page-hero h1 em { font-style: italic; color: var(--navy); }

.page-hero p {
  font-size: 1rem;
  color: var(--text-on-cerulean);
  max-width: 540px;
  margin-top: 16px;
  font-weight: 300;
  line-height: 1.75;
}

/* ── ABOUT HERO (translucent overlay with photo) ── */
.about-hero {
  position: relative;
  padding: calc(var(--nav-height) + 80px) 64px 80px;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}

.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(46, 143, 189, 0.82) 0%,
    rgba(46, 143, 189, 0.55) 50%,
    rgba(26, 39, 68, 0.7) 100%
  );
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.1;
  margin-top: 10px;
  max-width: 700px;
}

.about-hero h1 em {
  font-style: italic;
  color: var(--white);
}

/* ── LABELS & TYPOGRAPHY ── */
.section-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cerulean);
  display: block;
}

.page-hero .section-label { color: rgba(255,255,255,0.65); }

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.15;
  margin-top: 10px;
}

.section-title em { font-style: italic; color: var(--cerulean-dark); }
.divider { width: 36px; height: 1px; background: var(--cerulean); margin: 22px 0; }

/* ── LAYOUT ── */
.container { max-width: 1120px; margin: 0 auto; }
section { padding: 80px 64px; }

/* ── INTRO STRIP ── */
.intro-strip {
  background: var(--white);
  padding: 60px 64px;
  text-align: center;
  border-bottom: 1px solid var(--border-blue);
}

.intro-strip p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.85;
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  background: rgba(46, 143, 189, 0.1);
  margin-top: 48px;
}

.service-card { background: var(--white); padding: 40px 30px; }

.service-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: rgba(46, 143, 189, 0.18);
  line-height: 1;
  margin-bottom: 22px;
}

.service-card h3 { font-size: 0.9rem; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; font-weight: 300; }

/* ── ABOUT SPLIT ── */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { aspect-ratio: 4/5; overflow: hidden; }
.about-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-img-caption {
  background: var(--cerulean);
  color: var(--white);
  padding: 1.2rem 1.6rem;
  font-size: 0.85rem;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

.about-text p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.8; font-weight: 300; margin-bottom: 14px; }

/* ── TESTIMONIAL ── */
.testimonial-strip { background: var(--navy); padding: 64px; text-align: center; }

.testimonial-strip blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cerulean-pale);
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.testimonial-attribution { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(126,200,227,0.38); }

/* ── SETLIST ── */
.setlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  background: rgba(46, 143, 189, 0.1);
  margin-top: 40px;
}

.setlist-genre { background: var(--white); padding: 2.5rem 2rem; }

.setlist-genre h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--cerulean-pale);
}

.setlist-genre ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }

.setlist-genre li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}

.setlist-genre li::before { content: '—'; color: var(--cerulean-light); font-size: 0.75rem; flex-shrink: 0; }

/* ── SHOWS ── */
.shows-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.shows-column { grid-column: 1; grid-row: 1; }

.shows-photo {
  grid-column: 2;
  grid-row: 1 / 3;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 2px;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}

.shows-instagram {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding: 2.5rem;
  background: var(--cerulean-paler);
  text-align: center;
}

.shows-list { margin-top: 40px; }

.show-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--cerulean-pale);
}

.show-month { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cerulean); }
.show-day { font-family: 'Playfair Display', serif; font-size: 2.8rem; color: var(--navy); line-height: 1; }
.show-info h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 400; color: var(--navy); margin-bottom: 4px; }
.show-info p { font-size: 0.85rem; color: var(--text-muted); }
.show-info a { color: var(--cerulean); text-decoration: none; }

/* ── CONTACT ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; }

.contact-info h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.contact-info h2 em { font-style: italic; color: var(--cerulean-dark); }
.contact-info p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-row { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; }

.contact-row strong {
  color: var(--navy);
  font-weight: 500;
  min-width: 70px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 2px;
}

.contact-row a { color: var(--cerulean); text-decoration: none; }

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

label { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

input, textarea, select {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--cerulean-pale);
  background: var(--white);
  color: var(--navy);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

input:focus, textarea:focus, select:focus { border-color: var(--cerulean); }
textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── BG VARIANTS ── */
.bg-white { background: var(--white); }
.bg-off-white { background: var(--off-white); }
.bg-pale { background: var(--cerulean-paler); }
.bg-cream { background: var(--cerulean-paler); }
.bg-navy { background: var(--navy); }

/* ── EXTRA BUTTON VARIANTS ── */
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--navy-mid); }

/* ── BAND PHOTO ── */
.band-photo-full { width: 100%; height: 420px; object-fit: cover; object-position: center 30%; display: block; }

/* ── FOOTER ── */
footer { background: var(--navy); padding: 48px 64px 30px; text-align: center; }
.footer-logo { height: 38px; margin-bottom: 10px; opacity: 0.9; }
.footer-tagline { font-size: 0.78rem; color: rgba(126,200,227,0.7); margin-bottom: 24px; font-weight: 300; }

.footer-links { display: flex; justify-content: center; gap: 28px; list-style: none; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(126,200,227,0.7); text-decoration: none; }
.footer-links a:hover { color: rgba(126,200,227,1); }

.footer-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 26px; }
.social-btn { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(126,200,227,0.65); text-decoration: none; border: 1px solid rgba(126,200,227,0.35); padding: 6px 14px; border-radius: 2px; }
.social-btn:hover { color: rgba(126,200,227,1); border-color: rgba(126,200,227,0.6); }

.footer-copy { font-size: 0.7rem; color: rgba(126,200,227,0.5); border-top: 1px solid rgba(126,200,227,0.15); padding-top: 22px; }

/* ── MOBILE SIDE-PANEL MENU ── */

/* Dim overlay behind the panel — click to close */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 290;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav-overlay.visible {
  display: block;
  opacity: 1;
}

/* X close button — injected by JS */
.nav-close {
  display: none;
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  padding: 0;
  z-index: 2;
}
.nav-close::before,
.nav-close::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.7);
  transition: background 0.2s;
}
.nav-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.nav-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.nav-close:hover::before,
.nav-close:hover::after { background: var(--white); }

@media (max-width: 900px) {
  nav { padding: 0 24px; }

  /* Side panel — slides in from left */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    width: min(320px, 75vw);
    height: 100%;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    z-index: 300;
    padding: 80px 0 2rem;
    list-style: none;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.25);
    display: flex;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  /* Show close button inside panel */
  .nav-close { display: block; }

  /* Each list item */
  .nav-links li {
    display: block;
    width: 100%;
    opacity: 0;
    transform: translateX(-16px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  /* Staggered animation when panel opens */
  .nav-links.open li:nth-of-type(1) { opacity: 1; transform: translateX(0); transition-delay: 0.08s; }
  .nav-links.open li:nth-of-type(2) { opacity: 1; transform: translateX(0); transition-delay: 0.13s; }
  .nav-links.open li:nth-of-type(3) { opacity: 1; transform: translateX(0); transition-delay: 0.18s; }
  .nav-links.open li:nth-of-type(4) { opacity: 1; transform: translateX(0); transition-delay: 0.23s; }
  .nav-links.open li:nth-of-type(5) { opacity: 1; transform: translateX(0); transition-delay: 0.28s; }
  .nav-links.open li:nth-of-type(6) { opacity: 1; transform: translateX(0); transition-delay: 0.33s; }
  .nav-links.open li:nth-of-type(7) { opacity: 1; transform: translateX(0); transition-delay: 0.38s; }

  /* Links — white on navy, left-aligned, big tap targets */
  .nav-links a,
  .nav-links li a {
    display: block;
    padding: 14px 32px;
    opacity: 1 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: none;
    text-decoration: none;
    pointer-events: auto;
    transition: color 0.2s, padding-left 0.2s;
    -webkit-tap-highlight-color: rgba(126, 200, 227, 0.15);
  }

  .nav-links a:hover,
  .nav-links a:active {
    color: var(--white) !important;
    padding-left: 38px;
    background: none;
  }

  /* Active page link — highlighted in cerulean like old site's green */
  .nav-links a.active {
    color: var(--cerulean-light) !important;
  }

  /* Contact / CTA in side panel — no special button styling, just a link */
  .nav-links .nav-cta,
  .nav-links li a.nav-cta {
    display: block;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 14px 32px !important;
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 0;
    border-radius: 0;
  }

  .nav-links .nav-cta:hover,
  .nav-links li a.nav-cta:hover {
    color: var(--white) !important;
    padding-left: 38px !important;
  }

  /* Hamburger button */
  .nav-toggle {
    display: flex;
    z-index: 400;
    position: relative;
  }

  /* Layout adjustments */
  .hero { padding: 80px 24px 60px; min-height: 85vh; }
  .hero-bg { background-position: 35% top !important; opacity: 0.2 !important; background-repeat: no-repeat !important; }
  .hero-logotype { max-width: 300px; margin-bottom: 18px; }
  .page-hero { padding: calc(var(--nav-height) + 32px) 24px 40px; }
  .about-hero { padding: calc(var(--nav-height) + 32px) 24px 32px; min-height: auto; }
  .about-hero-bg { background-position: center top !important; background-size: cover !important; background-repeat: no-repeat !important; }
  section { padding: 56px 24px; }
  .intro-strip { padding: 48px 24px; }
  .testimonial-strip { padding: 48px 24px; }
  .about-split { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .show-item { grid-template-columns: 70px 1fr; }
  .show-item .btn { display: none; }
  .genre-col { font-size: 0.7rem !important; max-width: 80px; }
  [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; gap: 2.5rem !important; }
  .shows-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .shows-column { order: 1; }
  .shows-photo { order: 2; grid-column: 1; grid-row: auto; position: static; aspect-ratio: 16/9; }
  .shows-instagram { order: 3; grid-column: 1; grid-row: auto; }
  footer { padding: 40px 24px 24px; }
  .cta-section { padding: 56px 24px; }
}
