/* ============================================
   Phoebe Bedford Jazz — stylesheet
   Palette: midnight navy, aged brass, cream
   ============================================ */

:root {
  --navy-deep:   #0e131c;
  --navy-panel:  #171f2c;
  --brass:       #c9a24b;
  --brass-soft:  #e6d3a1;
  --cream:       #f4efe3;
  --cream-dim:   #cfc6b3;
  --line:        rgba(201, 162, 75, 0.35);
  --max-w: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--navy-deep);
  color: var(--cream);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1.7;
}

h1, h2, h3, .brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--cream);
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

/* ---------- Art Deco fan divider (signature element) ---------- */
.deco-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 3rem auto;
  width: 100%;
  max-width: 420px;
}
.deco-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
}
.deco-divider svg { flex-shrink: 0; }

/* ---------- Header / nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 19, 28, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.brand-mark .fan-mini { flex-shrink: 0; }

nav.primary-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}

nav.primary-nav a {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--cream-dim);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
nav.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
nav.primary-nav a:hover,
nav.primary-nav a.active {
  color: var(--brass-soft);
}
nav.primary-nav a:hover::after,
nav.primary-nav a.active::after {
  transform: scaleX(1);
}

.socials {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}
.socials a {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--brass-soft);
  transition: border-color .25s ease, color .25s ease, transform .25s ease;
}
.socials a:hover {
  border-color: var(--brass);
  color: var(--cream);
  transform: translateY(-2px);
}
.socials svg { width: 15px; height: 15px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  width: 40px; height: 40px;
  border-radius: 4px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero ---------- */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem 1.5rem 2rem;
  text-align: center;
}

.hero-frame {
  position: relative;
  display: inline-block;
  margin-bottom: 2.2rem;
  padding: 18px;
}
.hero-frame::before,
.hero-frame::after {
  content: '';
  position: absolute;
  width: 46px; height: 46px;
  border: 1px solid var(--brass);
  opacity: 0.85;
}
.hero-frame::before { top: 0; left: 0; border-right: none; border-bottom: none; }
.hero-frame::after  { bottom: 0; right: 0; border-left: none; border-top: none; }

.hero-logo { max-width: 340px; margin: 0 auto; }

.hero p.tagline {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.08rem;
  color: var(--cream-dim);
}

.hero p.tagline + p.tagline { margin-top: 1.2rem; }

/* ---------- Sections / prose blocks ---------- */
main {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
}

.eyebrow {
  display: block;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.6rem;
}

h1.page-title, h2.section-title {
  text-align: center;
  font-size: 2.4rem;
  margin: 0 0 0.4rem;
}

.lede {
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
  color: var(--cream-dim);
  font-size: 1.05rem;
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transition: transform 0.6s ease;
}
.gallery figure:hover img { transform: scale(1.04); }

/* ---------- Video / listen page ---------- */
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border: 1px solid var(--line);
  background: var(--navy-panel);
  margin: 0 auto 2rem;
  max-width: 820px;
}
.video-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

.listen-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--brass);
  color: var(--brass-soft);
  padding: 0.75rem 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover {
  background: var(--brass);
  color: var(--navy-deep);
}

/* ---------- Repertoire list ---------- */
.setlist-frame {
  max-width: 300px;
  margin: 0 auto 2.5rem;
  border: 1px solid var(--line);
}

.setlist {
  columns: 2;
  column-gap: 3rem;
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: item;
}
.setlist li {
  counter-increment: item;
  break-inside: avoid;
  padding: 0.5rem 0;
  border-bottom: 1px dotted var(--line);
  display: flex;
  gap: 0.8rem;
  font-size: 0.98rem;
}
.setlist li::before {
  content: counter(item, decimal-leading-zero);
  color: var(--brass);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  min-width: 1.6em;
}
.note-box {
  max-width: 640px;
  margin: 2.5rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--cream-dim);
}

/* ---------- Contact form ---------- */
form.contact-form {
  max-width: 560px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-row .field:only-child { grid-column: 1 / -1; }

.field {
  margin-bottom: 1.3rem;
  display: flex;
  flex-direction: column;
}
.field label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brass);
  margin-bottom: 0.5rem;
}
.field input,
.field textarea {
  background: var(--navy-panel);
  border: 1px solid var(--line);
  color: var(--cream);
  padding: 0.7rem 0.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 2px;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
}
.field textarea { resize: vertical; min-height: 130px; }

.submit-row { text-align: center; margin-top: 0.5rem; }
button.btn {
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.form-note {
  text-align: center;
  color: var(--cream-dim);
  font-size: 0.85rem;
  margin-top: 1rem;
  display: none;
}
.form-note.visible { display: block; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--cream-dim);
  letter-spacing: 0.08em;
}

/* ---------- Responsive ---------- */
@media (max-width: 780px) {
  nav.primary-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.4rem;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
  }
  nav.primary-nav.open { transform: translateY(0); }
  .nav-toggle { display: flex; }
  .gallery { grid-template-columns: 1fr; }
  .setlist { columns: 1; }
  .form-row { grid-template-columns: 1fr; }
  h1.page-title, h2.section-title { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
