/* ==================================================
   DeadEye Stare: homepage-only styles (default.html)
   ================================================== */

/* ---------- tokens ---------- */
:root {
  --charcoal: #141211;
  --charcoal-2: #1d1a18;
  --charcoal-3: #2a2522;
  --paper: #f3ece0;
  --paper-muted: #bfb4a5;
  --amber: #f2a43a;
  --amber-hot: #ffb957;
  --red: #d8402b;
  --font-display: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--amber); }
a:hover { color: var(--amber-hot); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- header + nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 18, 17, 0.94);
  border-bottom: 1px solid var(--charcoal-3);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  min-height: var(--header-h);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.brand:hover { color: var(--paper); }
.brand img { width: 44px; height: 44px; object-fit: cover; }

.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 10px 12px;
  color: var(--paper);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--amber); border-bottom-color: var(--amber); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--charcoal-3);
  border-radius: 4px;
  cursor: pointer;
}
.menu-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--paper);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* hamburger below the width where all seven links fit */
@media (max-width: 1023px) {
  .js .menu-toggle { display: flex; }

  .js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--charcoal);
    border-bottom: 1px solid var(--charcoal-3);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
  }
  .js .site-nav.is-open { display: block; }

  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .no-js .site-nav ul, html:not(.js) .site-nav ul { flex-wrap: wrap; flex-direction: row; }

  .site-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 12px 4px;
    font-size: 1rem;
    border-bottom: 1px solid var(--charcoal-3);
  }
  .site-nav li:last-child a { border-bottom: 0; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
}

.hero__media { position: relative; margin: 0; }

/* photo credit: small caption in the photo's lower-right corner, over the dark crowd */
.photo-credit {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 4px 10px;
  background: rgba(20, 18, 17, 0.6);
  color: var(--paper);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.hero__img {
  width: 100%;
  aspect-ratio: 2400 / 1268;
  object-fit: cover;
  background: var(--charcoal-2);
}

.hero__content {
  padding: 28px var(--gutter) 8px;
  max-width: var(--wrap);
  margin: 0 auto;
}

.hero__eyebrow {
  margin: 0 0 6px;
  color: var(--amber);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--paper);
}

.hero__tagline {
  margin: 12px 0 24px;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  font-weight: 500;
  color: var(--paper);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* wide screens: photo fills the viewport, copy sits over the dark crowd at lower left */
@media (min-width: 1024px) {
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(to top, rgba(20, 18, 17, 0.96) 0%, rgba(20, 18, 17, 0.7) 26%, rgba(20, 18, 17, 0) 52%),
      linear-gradient(to right, rgba(20, 18, 17, 0.55) 0%, rgba(20, 18, 17, 0) 45%);
    pointer-events: none;
  }

  .hero__img {
    aspect-ratio: auto;
    height: min(calc(100vh - var(--header-h)), 56vw);
    min-height: 520px;
    object-position: 50% 30%;
  }

  .hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 1440px;
    padding: 0 var(--gutter) clamp(32px, 5vh, 64px);
  }

  .hero__title, .hero__tagline { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--primary { background: var(--amber); color: var(--charcoal); }
.btn--primary:hover { background: var(--amber-hot); color: var(--charcoal); }

.btn--ghost { border-color: var(--paper); color: var(--paper); background: rgba(20, 18, 17, 0.35); }
.btn--ghost:hover { background: var(--paper); color: var(--charcoal); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--charcoal-2); border-top: 1px solid var(--charcoal-3); border-bottom: 1px solid var(--charcoal-3); }

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 28px;
}

.section__title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--paper);
}
.section__head .section__title { margin: 0; }

.section__title::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 14px;
  background: var(--red);
}

.section__more, .text-link {
  color: var(--amber);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

/* ---------- shows ---------- */
.shows {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--charcoal-3);
}

.show {
  display: grid;
  grid-template-columns: 9.5rem 1fr auto;
  align-items: center;
  gap: 8px 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--charcoal-3);
}

.show__date {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--amber);
}
.show__day { display: block; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; color: var(--paper-muted); }

.show__venue { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--paper); }
.show__meta { margin: 2px 0 0; color: var(--paper-muted); font-size: 0.95rem; }

.show__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid var(--charcoal-3);
  color: var(--paper);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.show__link:hover { border-color: var(--amber); color: var(--amber); }

.shows__status { padding: 20px 0; color: var(--paper-muted); list-style: none; }

@media (max-width: 640px) {
  .show { grid-template-columns: 1fr; gap: 4px; }
  .show__link { justify-self: start; margin-top: 8px; }
}

/* ---------- band + video ---------- */
.band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.band__text p { margin: 0 0 16px; max-width: 60ch; color: var(--paper); }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--charcoal-3);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.band__video-more { margin: 14px 0 0; }

@media (max-width: 860px) {
  .band { grid-template-columns: 1fr; }
}

/* ---------- booking ---------- */
.booking__lede { max-width: 60ch; margin: 0 0 24px; }
.booking__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.booking__direct .btn { text-transform: none; letter-spacing: 0.01em; }

.booking__sub {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.agents {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}

.agent {
  padding: 20px;
  background: var(--charcoal-2);
  border: 1px solid var(--charcoal-3);
  border-top: 3px solid var(--amber);
}
.agent p { margin: 0; font-size: 0.95rem; overflow-wrap: anywhere; }
.agent__name { font-weight: 700; font-size: 1.05rem !important; color: var(--paper); }
.agent__org { color: var(--paper-muted); margin-bottom: 10px !important; }
.agent a { display: inline-block; padding: 4px 0; }

.booking__more { color: var(--paper-muted); }

/* ---------- footer ---------- */
.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--charcoal-3);
  color: var(--paper-muted);
  font-size: 0.875rem;
}
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer p { margin: 0; }

.social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--charcoal-3);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.15rem;
  text-decoration: none;
}
.social a:hover { border-color: var(--amber); color: var(--amber); }
