/* ============================================================
   CRUSH — styles v5
   Mobile-first band homepage. Gritty rock poster.
   iOS-safe hero (CSS bg, no position:absolute children, no vh units).
   ============================================================ */

/* --- RESET --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* --- TOKENS --- */
:root {
  --bg:       #0f0d0b;
  --bg-2:     #14100c;
  --ink:      #efe5cf;
  --dim:      #80705e;
  --red:      #c8391b;
  --red-hot:  #d44020;
  --amber:    #d4a017;
  --edge:     rgba(239,229,207,0.10);
  --pad-mobile: 20px;
  --pad-tablet: 40px;
  --pad-desktop: 64px;
  --maxw: 1180px;
}

/* --- BASE --- */
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Offset anchor targets for the fixed header */
#booking { scroll-margin-top: 72px; }

/* --- SHARED --- */
.eyebrow {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 26px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.14s, background 0.18s, border-color 0.18s;
}
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: var(--red);
  color: var(--ink);
  border: 2px solid var(--red);
  box-shadow: 0 6px 22px rgba(200,57,27,0.4);
}
.btn--primary:hover { background: var(--red-hot); border-color: var(--red-hot); }

.btn--ghost {
  background: rgba(15,13,11,0.35);
  color: var(--ink);
  border: 2px solid rgba(239,229,207,0.4);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover { border-color: var(--ink); }

/* --- STICKY HEADER --- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px var(--pad-mobile);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, border-color 0.25s, padding 0.25s;
}
.site-header.scrolled {
  background: rgba(15,13,11,0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--edge);
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-header__mark {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: 1.45rem;
  letter-spacing: 6px;
  color: var(--ink);
  text-decoration: none;
  text-shadow: 0 1px 6px rgba(15,13,11,0.6);
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-header__ig {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.75;
  transition: opacity 0.2s;
  display: none;
}
.site-header__ig:hover { opacity: 1; }

.site-header__book {
  background: var(--red);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 16px;
  border-radius: 2px;
  transition: background 0.18s;
  -webkit-tap-highlight-color: transparent;
}
.site-header__book:hover { background: var(--red-hot); }

/* --- HERO ---
 * Photo + scrim are CSS background layers — no position:absolute inside the
 * flex container (collapses on iOS Safari). height: 88vw keeps a reliable
 * ratio via vw; NO viewport-height units (100vh/svh break on iOS).
 */
.hero {
  width: 100%;
  height: 128vw;
  min-height: 540px;
  max-height: 90vh;
  background:
    url('img/grain.png') repeat,
    linear-gradient(180deg,
      rgba(15,13,11,0.55) 0%,
      rgba(15,13,11,0.20) 26%,
      rgba(15,13,11,0.55) 58%,
      rgba(15,13,11,0.96) 86%,
      #0f0d0b 100%
    ),
    url('img/event-band-on-porch-opt.jpg') center 30% / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero__body {
  padding: 0 var(--pad-mobile) 44px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
  align-self: flex-start;
}

.hero__title {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: clamp(6rem, 36vw, 18rem);
  line-height: 0.8;
  letter-spacing: 3px;
  color: var(--ink);
  text-shadow: 0 3px 14px rgba(15,13,11,0.8), 0 0 40px rgba(15,13,11,0.5);
}

.hero__tagline {
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.5px;
  color: rgba(239,229,207,0.78);
  margin-top: -2px;
}

.hero__lede {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.55;
  color: var(--ink);
  max-width: 30ch;
  margin-top: 2px;
}

.hero__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* --- INTRO / WHO WE ARE --- */
.intro {
  padding: 72px var(--pad-mobile);
}
.intro__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.intro__head {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: clamp(2.4rem, 9vw, 4rem);
  line-height: 0.95;
  letter-spacing: 1.5px;
  color: var(--ink);
  margin-top: 12px;
}

.intro__body {
  font-size: 1.02rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(239,229,207,0.82);
  margin-top: 16px;
  max-width: 46ch;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.tag-list li {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--edge);
  border-radius: 100px;
  padding: 8px 15px;
}

.intro__photo {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0,0,0,0.5);
}
.intro__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  max-height: 460px;
}

/* --- LIVE / PHOTOS --- */
.live {
  padding: 32px 0 72px;
}
.live__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-mobile);
}
.live__head {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: clamp(2rem, 7.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 1.5px;
  color: var(--ink);
  margin-top: 10px;
}
.live__body {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(239,229,207,0.82);
  margin-top: 14px;
  max-width: 52ch;
}

.gallery {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.gallery__item { overflow: hidden; }
.gallery__item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  max-height: 380px;
  object-position: center 30%;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.03); }

/* --- BOOKING — loud CTA --- */
.booking {
  margin-top: 8px;
  padding: 72px var(--pad-mobile) 80px;
  background:
    url('img/grain.png') repeat,
    radial-gradient(ellipse at top, rgba(212,160,23,0.12), transparent 65%),
    linear-gradient(180deg, #1a0d08 0%, #120a07 100%);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
  position: relative;
  overflow: hidden;
}
.booking::before, .booking::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: var(--amber);
  opacity: 0.35;
}
.booking::before { top: 8px; }
.booking::after { bottom: 8px; }

.booking__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.booking__eyebrow {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--amber);
}

.booking__title {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: clamp(4.2rem, 19vw, 9rem);
  letter-spacing: 4px;
  line-height: 0.85;
  color: var(--ink);
  text-shadow:
    0 2px 0 var(--red),
    0 4px 0 rgba(0,0,0,0.4),
    0 8px 24px rgba(200,57,27,0.45);
}

.booking__desc {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(239,229,207,0.86);
  letter-spacing: 0.3px;
  line-height: 1.65;
  max-width: 460px;
  padding: 0 4px;
}

.booking-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--red);
  color: var(--ink);
  text-decoration: none;
  padding: 20px 32px;
  border-radius: 2px;
  margin-top: 14px;
  border: 2px solid var(--amber);
  box-shadow:
    0 0 0 0 rgba(212,160,23,0),
    0 8px 28px rgba(200,57,27,0.45);
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  animation: booking-pulse 2.6s ease-in-out infinite;
  -webkit-tap-highlight-color: transparent;
  max-width: 100%;
}
.booking-cta:hover {
  background: var(--red-hot);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 6px rgba(212,160,23,0.18),
    0 14px 36px rgba(200,57,27,0.55);
  animation-play-state: paused;
}
.booking-cta:active { transform: translateY(0); }

.booking-cta__label {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: 1.55rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  line-height: 1;
}
.booking-cta__email {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  opacity: 0.95;
  word-break: break-all;
}

.booking__note {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 6px;
}

@keyframes booking-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,160,23,0), 0 8px 28px rgba(200,57,27,0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(212,160,23,0.12), 0 8px 28px rgba(200,57,27,0.45); }
}

/* --- FOOTER --- */
.site-footer {
  padding: 40px var(--pad-mobile) 52px;
  border-top: 1px solid var(--edge);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.site-footer__mark {
  font-family: 'Bebas Neue', 'Arial Black', Impact, sans-serif;
  font-size: 1.6rem;
  letter-spacing: 6px;
  color: var(--ink);
  opacity: 0.85;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.footer-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.18s;
  padding: 4px 0;
}
.footer-link:hover { opacity: 1; }
.footer-link--muted { opacity: 0.32; cursor: default; }
.site-footer__copy {
  font-size: 0.62rem;
  letter-spacing: 1px;
  color: var(--dim);
  opacity: 0.6;
}

/* --- TOAST --- */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: var(--ink);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px 24px;
  border-radius: 2px;
  z-index: 9999;
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* --- REDUCED MOTION --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .booking-cta { animation: none; }
  .btn, .footer-link, .site-header__ig, .gallery__item img { transition: none; }
}

/* --- TABLET 768px+ --- */
@media (min-width: 768px) {
  .site-header { padding-inline: var(--pad-tablet); }
  .site-header__ig { display: inline; }

  .hero {
    height: 78vw;
    max-height: 86vh;
  }
  .hero__body { padding: 0 var(--pad-tablet) 56px; gap: 14px; }
  .hero__lede { font-size: 1.15rem; max-width: 38ch; }

  .intro { padding: 96px var(--pad-tablet); }
  .intro__inner {
    flex-direction: row;
    align-items: center;
    gap: 56px;
  }
  .intro__text { flex: 1.2; }
  .intro__photo { flex: 1; align-self: stretch; }
  .intro__photo img { max-height: none; min-height: 420px; }

  .live { padding: 40px 0 96px; }
  .live__inner { padding-inline: var(--pad-tablet); }
  .gallery {
    flex-direction: row;
    margin-top: 36px;
    padding: 0 var(--pad-tablet);
    gap: 6px;
  }
  .gallery__item { flex: 1; }
  .gallery__item--wide { flex: 1.4; }
  .gallery__item img { max-height: 440px; height: 100%; }

  .booking { padding: 100px var(--pad-tablet) 108px; }
  .booking-cta { padding: 24px 44px; gap: 6px; }
  .booking-cta__label { font-size: 1.85rem; letter-spacing: 7px; }
  .booking-cta__email { font-size: 0.88rem; letter-spacing: 1.2px; }

  .site-footer {
    padding: 44px var(--pad-tablet) 56px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
  }
  .site-footer__copy { width: 100%; }
}

/* --- DESKTOP 1200px+ --- */
@media (min-width: 1200px) {
  .site-header { padding-inline: var(--pad-desktop); }

  .hero {
    height: 62vw;
    max-height: 82vh;
  }
  .hero__body { padding: 0 var(--pad-desktop) 64px; }
  .hero__title { font-size: clamp(11rem, 16vw, 17rem); }

  .intro { padding: 120px var(--pad-desktop); }
  .live__inner { padding-inline: var(--pad-desktop); }
  .gallery { padding-inline: var(--pad-desktop); }
  .gallery__item img { max-height: 500px; }

  .booking { padding: 120px var(--pad-desktop) 128px; }
  .site-footer { padding: 48px var(--pad-desktop) 60px; }
}
