/* ==========================================================================
   Eddie Haskell Project — ehprocks.com
   Rock-poster design system lifted from the band's gig flyer:
   distressed near-black, blood red, aged cream, tall condensed type.
   Fonts: Anton (display), Barlow Condensed (subheads/labels), Barlow (body).
   ========================================================================== */

:root {
  --ink: #0c0909;          /* page background — worn black */
  --ink-2: #151010;        /* raised panels */
  --red: #b3202a;          /* flyer blood red */
  --red-bright: #d92632;   /* large display accents only (3:1+ at display sizes) */
  --red-text: #e8535d;     /* red for SMALL text on dark — passes WCAG AA 4.5:1 */
  --red-deep: #931a23;     /* hover fill — darker = more contrast under cream text */
  --cream: #e9ddc0;        /* aged paper cream — primary text */
  --cream-dim: #b3a88e;    /* secondary text */
  --gold: #c9a15a;         /* thin ring gold from the logo */
  --border: #3a2f2a;       /* worn panel borders */
  --wrap: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--cream);
  font-family: "Barlow", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  /* Subtle film-grain noise over the whole page — the "worn poster" feel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

h1, h2 {
  font-family: "Anton", "Barlow Condensed", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

h1 { font-size: clamp(52px, 9vw, 108px); }
h2 { font-size: clamp(30px, 4.5vw, 44px); margin-bottom: 8px; }

.accent-red { color: var(--red-bright); }

/* Star-flanked section label, like "★ SATURDAY ★" on the flyer */
.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 15px;
  color: var(--red-text);
}
.eyebrow::before { content: "\2605\00a0\00a0"; color: var(--gold); }
.eyebrow::after  { content: "\00a0\00a0\2605"; color: var(--gold); }

.lede { font-size: 20px; color: var(--cream-dim); max-width: 640px; }

/* --------------------------------------------------------------------------
   Nav
   -------------------------------------------------------------------------- */

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 9, 9, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 40px; width: 40px; border-radius: 50%; }
.brand-word {
  font-family: "Anton", sans-serif;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}
.brand-word b { color: var(--red-bright); font-weight: 400; }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--cream-dim);
  text-decoration: none;
}
.nav-links a:hover { color: var(--red-text); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: 4px;
  color: var(--cream); font-size: 20px; padding: 4px 10px; cursor: pointer;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  padding: 110px 0 84px;
  text-align: center;
  /* Stage-spotlight glow behind the band name */
  background:
    radial-gradient(ellipse 60% 55% at 50% 30%, rgba(179, 32, 42, 0.18), transparent 70%),
    radial-gradient(ellipse 40% 35% at 50% 20%, rgba(233, 221, 192, 0.06), transparent 70%);
}
.hero h1 { margin: 18px 0 20px; text-shadow: 4px 4px 0 rgba(179, 32, 42, 0.3), 8px 8px 0 rgba(0, 0, 0, 0.5); }
.hero .lede { margin: 0 auto; }

/* Red lightning bolts flanking the name, like the flyer margins */
.bolt { color: var(--red-bright); font-size: 0.45em; vertical-align: middle; display: inline-block; transform: rotate(-12deg); text-shadow: none; }
.bolt-flip { transform: rotate(12deg) scaleX(-1); }

.hero-cta { margin-top: 36px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 17px;
  padding: 14px 34px;
  text-decoration: none;
  border-radius: 3px;
  cursor: pointer;
  border: 2px solid var(--red);
}
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--cream); }
.btn-ghost:hover { border-color: var(--red-text); color: var(--red-text); }

/* --------------------------------------------------------------------------
   Next-show ticker — scrolling marquee strip between hero and content
   -------------------------------------------------------------------------- */

.ticker {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  background: var(--red);
  color: var(--cream);
  text-decoration: none;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  padding: 10px 0;
}
.ticker-track {
  display: inline-block;
  animation: ticker-scroll 22s linear infinite;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 16px;
}
.ticker:hover { background: var(--red-deep); }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Accessibility: no motion for users who asked for none */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

section { padding: 72px 0; border-top: 1px solid var(--border); }
section .section-head { text-align: center; margin-bottom: 44px; }
.section-head .lede { margin: 12px auto 0; }

/* --------------------------------------------------------------------------
   Next-show poster card — double border + dashed inner, like the flyer box
   -------------------------------------------------------------------------- */

.show-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--ink-2);
  border: 3px solid var(--red);
  outline: 1px dashed var(--cream-dim);
  outline-offset: -10px;
  padding: 44px;
}

.show-card .when {
  font-family: "Anton", sans-serif;
  font-size: clamp(34px, 4.5vw, 52px);
  text-transform: uppercase;
  line-height: 1.1;
}
.show-card .when small { display: block; font-size: 0.55em; color: var(--red-bright); letter-spacing: 0.08em; }
.show-card .where { margin-top: 14px; font-size: 19px; color: var(--cream-dim); }
.show-card .where strong { color: var(--cream); font-family: "Barlow Condensed", sans-serif; font-size: 22px; text-transform: uppercase; letter-spacing: 0.1em; }

/* --------------------------------------------------------------------------
   Shows table
   -------------------------------------------------------------------------- */

.show-list { list-style: none; max-width: 760px; margin: 44px auto 0; }
.show-list li {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 18px;
  align-items: baseline;
  padding: 18px 8px;
  border-bottom: 1px dashed var(--border);
}
.show-list .date {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red-text);
}
.show-list .venue { color: var(--cream); }
.show-list .city { color: var(--cream-dim); font-size: 15px; }
.show-list-note { text-align: center; margin-top: 26px; color: var(--cream-dim); }
.show-list-note a { color: var(--red-text); }

/* --------------------------------------------------------------------------
   Poster wall — the band's gig flyers, framed like posters on a venue wall
   -------------------------------------------------------------------------- */

.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 400px));
  gap: 36px;
  justify-content: center;
  margin-top: 56px;
}
.poster {
  background: var(--ink-2);
  border: 1px solid var(--border);
  padding: 14px 14px 10px;
  transform: rotate(-0.6deg);   /* slight tilt, like posters stapled to a wall */
}
.poster + .poster { transform: rotate(0.7deg); }
.poster img { width: 100%; display: block; }
.poster figcaption {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--cream-dim);
  text-align: center;
  padding-top: 12px;
}

/* --------------------------------------------------------------------------
   Set list chips
   -------------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; max-width: 820px; margin: 0 auto; }
.chip {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 15px;
  color: var(--cream);
  border: 1px solid var(--border);
  background: var(--ink-2);
  padding: 8px 18px;
  border-radius: 999px;
}
.chips-note { text-align: center; margin-top: 24px; color: var(--cream-dim); }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.about-grid p + p { margin-top: 14px; }
.about-grid p { color: var(--cream-dim); }
.about-grid p strong { color: var(--cream); }

/* --------------------------------------------------------------------------
   Image slots — look intentional while the band's files are still en route.
   An <img onerror> adds .missing to the frame, which shows the label instead.
   -------------------------------------------------------------------------- */

.img-slot {
  position: relative;
  border: 1px solid var(--border);
  background: var(--ink-2);
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-slot .slot-label { display: none; }
.img-slot.missing img { display: none; }
.img-slot.missing .slot-label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 14px;
  color: var(--cream-dim);
  text-align: center;
  padding: 24px;
}

/* --------------------------------------------------------------------------
   Booking form
   -------------------------------------------------------------------------- */

.booking-form { max-width: 640px; margin: 0 auto; display: grid; gap: 18px; }
.booking-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.booking-form label {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  color: var(--cream-dim);
  margin-bottom: 6px;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  background: var(--ink-2);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--cream);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  padding: 12px 14px;
}
.booking-form input:focus,
.booking-form textarea:focus { outline: 2px solid var(--red); border-color: var(--red); }
.booking-form ::placeholder { color: var(--cream-dim); opacity: 1; }
.form-submit { justify-self: center; }

.form-status { text-align: center; font-size: 16px; min-height: 24px; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--red-text); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  text-align: center;
  color: var(--cream-dim);
  font-size: 14px;
}
footer .stars { color: var(--gold); letter-spacing: 0.6em; margin-bottom: 12px; }
footer .footer-credit { margin-top: 6px; }
footer a { color: var(--cream-dim); }

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-top: 1px solid var(--border); }

  .hero { padding: 64px 0 48px; }
  .show-card { padding: 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .booking-form .row-2 { grid-template-columns: 1fr; }
  .show-list li { grid-template-columns: 1fr; gap: 4px; }
}
