/* ==========================================================================
   BLAKE WALKER — stylesheet
   --------------------------------------------------------------------------
   You almost never need to touch this file. It controls how things LOOK.
   To change WORDS, edit index.html. To change SHOWS, edit js/shows.js.

   The one thing you might want to change is the color, right below.
   ========================================================================== */

:root {
  /* ---- COLORS (change these to restyle the whole site) ---- */
  --bg:          #16151A;   /* page background — charcoal, nearly black */
  --bg-raised:   #1C1B21;   /* slightly lighter panels                  */
  --text:        #F2EFE9;   /* main text — warm off-white               */
  --text-muted:  #9C968C;   /* secondary text — warm grey               */
  --accent:      #C9A227;   /* muted antique gold                       */
  --accent-soft: #E0B93A;   /* brighter gold, used on hover             */
  --hairline:    rgba(242, 239, 233, 0.13);

  /* ---- TYPEFACES ---- */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* ---- SPACING ---- */
  --gutter:   clamp(1.5rem, 5vw, 4rem);
  --section:  clamp(5rem, 12vw, 9rem);
  --measure:  68ch;
}

/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

/* When JavaScript hides something (an empty section, or a link pointing at
   one), it sets the "hidden" attribute. Buttons and flex items carry their
   own display rule that would otherwise win, so make hidden always mean
   hidden. Without this, the hero "Listen" button survives its own section. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
picture,
video,
iframe { display: block; max-width: 100%; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   SHARED LAYOUT
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
  scroll-margin-top: 4rem;
  position: relative;
}

.section--raised { background: var(--bg-raised); }

.section + .section:not(.section--raised) { border-top: 1px solid var(--hairline); }

/* Small gold label above each section heading — "01 / About" */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  margin-bottom: 0.5rem;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--text);
  max-width: var(--measure);
}

p { max-width: var(--measure); }

p + p { margin-top: 1.25rem; }

.muted { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease,
              border-color 0.25s ease, transform 0.25s ease;
}

.btn--solid {
  background: var(--accent);
  color: #16151A;
}

.btn--solid:hover,
.btn--solid:focus-visible {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: translateY(-2px);
}

.btn--ghost { color: var(--text); }

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--accent);
  color: #16151A;
  transform: translateY(-2px);
}

/* The two booking buttons carry a real email address and phone number, which
   run much longer than a normal button label. Uppercase + wide letter-spacing
   would overflow a phone screen, so these read at natural case instead. */
.btn--contact {
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.6rem;
  text-transform: none;
  text-align: center;
}

.btn__label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.72;
}

.btn__value {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

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

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  transition: background-color 0.3s ease, padding 0.3s ease,
              border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Applied by JS once you scroll past the hero */
.nav.is-stuck {
  background: rgba(22, 21, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--hairline);
  padding-block: 0.85rem;
}

.nav__brand {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.nav__links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible { color: var(--text); }

.nav__links .btn {
  padding: 0.6rem 1.35rem;
  color: var(--accent);
  font-size: 0.72rem;
}

.nav__links .btn:hover,
.nav__links .btn:focus-visible { color: #16151A; }

/* Hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 10px;
}

.nav__toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav__toggle span + span { margin-top: 7px; }

.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 8rem var(--section);
  overflow: hidden;
}

/* The photo lives here. Drop images/hero.jpg in and it appears automatically.
   Until then, the gradient below stands in for it. */
.hero__media {
  position: absolute;
  inset: 0;
  background-color: #0E0D11;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* Darkens the top strip so the navigation stays readable over a light photo */
    linear-gradient(to bottom, rgba(14, 13, 17, 0.85) 0%, rgba(14, 13, 17, 0.3) 12%, transparent 24%),
    radial-gradient(120% 90% at 75% 15%, rgba(201, 162, 39, 0.16), transparent 60%),
    linear-gradient(to top, rgba(22, 21, 26, 0.97) 8%, rgba(22, 21, 26, 0.75) 45%, rgba(22, 21, 26, 0.55) 100%);
}

.hero__inner { position: relative; z-index: 1; width: 100%; }

.hero__eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 13vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
}

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

.hero__tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 300;
  color: var(--text);
  max-width: 46ch;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 1;
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 0.85rem auto 0;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* On phones the buttons sit low enough that the scroll cue gets in the way */
@media (max-width: 860px), (max-height: 700px) {
  .hero__scroll { display: none; }
}

/* --------------------------------------------------------------------------
   ABOUT
   -------------------------------------------------------------------------- */

.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: 1.35fr 1fr; }
}

.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: #0E0D11;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  list-style: none;
  padding: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}

.facts li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 560px) {
  .facts li {
    grid-template-columns: 9rem 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.facts__label {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   MUSIC / VIDEO
   -------------------------------------------------------------------------- */

.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #0E0D11;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   GALLERY
   -------------------------------------------------------------------------- */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 0.9rem;
}

.gallery__item {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  background: #0E0D11;
  border: 1px solid var(--hairline);
  overflow: hidden;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}

.gallery__item:hover img { transform: scale(1.045); }

/* --------------------------------------------------------------------------
   PLACEHOLDER TILES
   Shown automatically whenever an image file is missing, so the layout
   never breaks and you can see exactly which filename to drop in.
   -------------------------------------------------------------------------- */

.is-missing img { display: none; }

.is-missing::after {
  content: "▲  " attr(data-file);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  background:
    repeating-linear-gradient(-45deg, rgba(201,162,39,0.05) 0 12px, transparent 12px 24px),
    #131217;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   LIGHTBOX
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 9, 12, 0.96);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox.is-open { display: flex; }

.lightbox img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   SHOWS
   -------------------------------------------------------------------------- */

.shows { list-style: none; padding: 0; border-top: 1px solid var(--hairline); }

.show {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 2rem;
  align-items: baseline;
  padding-block: 1.6rem;
  border-bottom: 1px solid var(--hairline);
}

@media (min-width: 760px) {
  .show { grid-template-columns: 10.5rem 1fr auto; align-items: center; }
}

.show__date {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.show__venue { font-size: 1.15rem; font-weight: 400; }

.show__meta { color: var(--text-muted); font-size: 0.92rem; }

.show__tag {
  display: inline-block;
  margin-left: 0.65rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--accent);
  border-radius: 2px;
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
}

.show__link {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.show__link:hover { color: var(--accent); border-color: var(--accent); }

.shows__empty { padding-block: 2rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.quote {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: var(--bg);
  border: 1px solid var(--hairline);
}

.section--raised .quote { background: #17161C; }

.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-style: italic;
  line-height: 1.55;
}

.quote p::before { content: "\201C"; }
.quote p::after  { content: "\201D"; }

.quote footer {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   PRESS KIT
   -------------------------------------------------------------------------- */

.press {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 860px) { .press { grid-template-columns: 1fr auto; } }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */

.contact { text-align: center; }

.contact h2 { font-size: clamp(2.25rem, 7vw, 4.5rem); }

.contact p { margin-inline: auto; text-align: center; }

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.contact__actions .btn { min-width: 15rem; }

/* Full-width tap targets on phones */
@media (max-width: 560px) {
  .contact__actions .btn { width: 100%; min-width: 0; }
}

.contact__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact__ig:hover { color: var(--accent); }

.contact__ig svg { width: 20px; height: 20px; fill: currentColor; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.footer {
  padding-block: 3rem;
  border-top: 1px solid var(--hairline);
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   SCROLL REVEAL
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   MOBILE NAV
   -------------------------------------------------------------------------- */

@media (max-width: 860px) {
  .nav__toggle { display: block; }

  /* IMPORTANT: while the menu is open the bar must drop its backdrop-filter.
     An element with backdrop-filter becomes the containing block for any
     position:fixed children, which would trap the full-screen menu inside
     the header strip. Keep this rule after the .nav.is-stuck rule. */
  .nav.is-open {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    background: rgba(19, 18, 23, 0.985);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav.is-open .nav__links { opacity: 1; visibility: visible; }

  .nav__links a { font-size: 1rem; letter-spacing: 0.2em; color: var(--text); }

  .nav__links .btn { font-size: 0.85rem; padding: 0.9rem 2rem; }

  .nav__brand,
  .nav__toggle { position: relative; z-index: 1; }
}

/* --------------------------------------------------------------------------
   ACCESSIBILITY & PRINT
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 300;
  padding: 0.85rem 1.5rem;
  background: var(--accent);
  color: #16151A;
  font-size: 0.85rem;
  text-decoration: none;
}

.skip-link:focus { left: 1rem; top: 1rem; }

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