/* SixStringChuck — site styles */
:root {
  --cream: #fbf3e4;
  --cream-2: #f4e7cf;
  --ink: #1d2a2e;
  --ink-soft: #4a5a5e;
  --deep: #12343b;
  --deep-2: #0c262c;
  --teal: #2bb3ae;
  --coral: #e5533d;
  --coral-dark: #c8412d;
  --sun: #f2b33d;
  --radius: 14px;
  --header-h: 92px;
  --max: 1140px;
  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Source Sans 3", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 18px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--coral-dark); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0 0 0.4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; }
h3 { font-size: 1.5rem; text-transform: uppercase; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--sun);
  margin-bottom: 0.8em;
}

/* ---------- Header: logo + nav on one line ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 228, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(18, 52, 59, 0.08);
}
.site-header .wrap {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 82px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--deep);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
}
.nav a:hover { background: var(--cream-2); }
.nav a[aria-current="page"] { color: var(--coral-dark); }
.nav .btn { margin-left: 8px; }
.menu-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--deep);
}
.menu-toggle svg { width: 28px; height: 28px; }

@media (max-width: 900px) {
  :root { --header-h: 74px; }
  .brand img { height: 62px; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 20px;
    background: var(--cream);
    border-bottom: 1px solid rgba(18, 52, 59, 0.12);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 8px; font-size: 1.25rem; }
  .nav .btn { margin: 10px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary, .nav a.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover, .nav a.btn-primary:hover { background: var(--coral-dark); }
.btn-ghost { border-color: currentColor; color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background: var(--deep);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/img/mission-lucy.jpg") center 30% / cover no-repeat;
  opacity: 0.35;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--deep) 30%, rgba(18, 52, 59, 0.4) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero p { font-size: 1.15rem; color: rgba(255, 255, 255, 0.88); max-width: 34em; }
.hero-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  transform: rotate(1.5deg);
  border: 6px solid var(--cream);
}
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; width: 100%; }
@media (max-width: 800px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-photo { max-width: 360px; transform: none; }
}

.wave { display: block; width: 100%; height: 36px; color: var(--deep); }
.wave.flip { transform: scaleY(-1); }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section-dark { background: var(--deep); color: #fff; }
.section-dark p { color: rgba(255, 255, 255, 0.85); }
.section-head { max-width: 46em; margin-bottom: 32px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, 0.8); }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 8px 24px rgba(18, 52, 59, 0.06);
}
.card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(43, 179, 174, 0.14);
  color: var(--teal);
  margin-bottom: 14px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { color: var(--deep); }
.card p { color: var(--ink-soft); margin: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.photo-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.photo-stack img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.photo-stack img:nth-child(2) { margin-top: 40px; }

/* ---------- Booking band ---------- */
.booking {
  background: var(--coral);
  color: #fff;
  border-radius: calc(var(--radius) * 1.5);
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.booking p { color: rgba(255, 255, 255, 0.92); }
.booking .contact-lines { font-size: 1.15rem; line-height: 2; }
.booking .contact-lines a { color: #fff; font-weight: 600; text-decoration: none; border-bottom: 2px solid rgba(255, 255, 255, 0.5); }
.booking .btn-primary { background: var(--deep); }
.booking .btn-primary:hover { background: var(--deep-2); }
@media (max-width: 800px) { .booking { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--deep); color: #fff; padding-block: 56px 40px; }
.page-head p { color: rgba(255, 255, 255, 0.8); font-size: 1.15rem; max-width: 40em; margin: 0; }

/* ---------- Music player ---------- */
.albums { display: grid; gap: 28px; }
.album {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 8px 24px rgba(18, 52, 59, 0.06);
}
.album > img { border-radius: 10px; aspect-ratio: 1; object-fit: cover; width: 100%; }
@media (max-width: 640px) { .album { grid-template-columns: 1fr; } .album > img { max-width: 220px; } }
.tracks { list-style: none; margin: 0; padding: 0; }
.track {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 8px;
  border-radius: 10px;
  cursor: pointer;
}
.track + .track { border-top: 1px solid var(--cream-2); }
.track:hover { background: var(--cream); }
.track.playing { background: rgba(43, 179, 174, 0.12); }
.track .play {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--deep);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.track.playing .play { background: var(--coral); }
.track .play svg { width: 16px; height: 16px; }
.track .title { font-weight: 600; flex: 1; }
.track .title small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.track .time { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.progress { height: 4px; background: var(--cream-2); border-radius: 2px; margin: 4px 8px 0; overflow: hidden; display: none; }
.track.playing + .progress, .progress.show { display: block; }
.progress span { display: block; height: 100%; width: 0; background: var(--coral); }

/* ---------- Song list ---------- */
.song-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.search {
  flex: 1;
  max-width: 420px;
  font: inherit;
  padding: 12px 18px;
  border-radius: 999px;
  border: 2px solid var(--cream-2);
  background: #fff;
}
.search:focus { outline: none; border-color: var(--teal); }
.song-count { color: var(--ink-soft); }
.artists { columns: 3 260px; column-gap: 24px; }
.artist {
  break-inside: avoid;
  background: #fff;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  border-left: 4px solid var(--teal);
}
.artist h3 { font-size: 1.2rem; color: var(--deep); margin-bottom: 4px; }
.artist ul { list-style: none; margin: 0; padding: 0; color: var(--ink-soft); }
.artist li::before { content: "♪ "; color: var(--coral); }
.artist.has-track { border-left-color: var(--coral); }
.empty { color: var(--ink-soft); display: none; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery button {
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 12px;
  overflow: hidden;
}
.gallery img { aspect-ratio: 3 / 4; object-fit: cover; width: 100%; transition: transform 0.3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .wide { grid-column: span 2; }
.gallery button { display: block; }
.gallery img { height: 100%; }
.gallery .wide img { aspect-ratio: 3 / 2; }
@media (max-width: 560px) { .gallery .wide { grid-column: auto; } .gallery .wide img { aspect-ratio: 3 / 4; } }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 20, 24, 0.92);
  display: none;
  place-items: center;
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-height: 88vh; max-width: 100%; border-radius: 8px; }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
}
.lightbox .close { top: 16px; right: 16px; }
.lightbox .prev { left: 16px; top: 50%; }
.lightbox .next { right: 16px; top: 50%; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form label { font-weight: 600; display: grid; gap: 6px; }
.form input, .form textarea, .form select {
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--cream-2);
  background: #fff;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); }
.form textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-card { background: #fff; border-radius: var(--radius); padding: 28px; }
.contact-card dl { margin: 0; display: grid; gap: 14px; }
.contact-card dt { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-soft); font-size: 0.9rem; }
.contact-card dd { margin: 0; font-size: 1.15rem; font-weight: 600; }
.contact-card dd a { color: var(--deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep-2); color: rgba(255, 255, 255, 0.75); padding-block: 48px 32px; margin-top: 0; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: start; }
.site-footer img { height: 72px; width: auto; margin-bottom: 12px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.06em; }
.social { display: flex; gap: 12px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: grid; place-items: center; }
.social svg { width: 20px; height: 20px; }
.copyright { grid-column: 1 / -1; font-size: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 20px; }
@media (max-width: 700px) { .site-footer .wrap { grid-template-columns: 1fr; } }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.hero .eyebrow, .section-dark .eyebrow { color: var(--sun); }
